[Modify] Polish it
This commit is contained in:
parent
1839fd2b27
commit
6d29f8fa4c
@ -1618,7 +1618,7 @@ namespace WebSocketSharp
|
||||
return array;
|
||||
}
|
||||
|
||||
if (startIndex < 0 || startIndex > len - 1)
|
||||
if (startIndex < 0 || startIndex >= len)
|
||||
throw new ArgumentOutOfRangeException ("startIndex");
|
||||
|
||||
if (length < 0 || length > len - startIndex)
|
||||
|
Loading…
Reference in New Issue
Block a user