[Modify] Edit it

This commit is contained in:
sta 2021-01-30 22:22:49 +09:00
parent a688bbf115
commit 82a214129b

View File

@ -118,9 +118,9 @@ namespace WebSocketSharp.Net
private int fillFromBuffer (byte[] buffer, int offset, int count) private int fillFromBuffer (byte[] buffer, int offset, int count)
{ {
// This method returns a int: // This method returns a int:
// - > 0 If we read something from the buffer // - > 0 The number of bytes read from the internal buffer
// - 0 If we can keep reading from the base stream // - 0 0 byte read from the internal buffer
// - -1 If we had a content length set and we finished reading that many bytes // - -1 No more content data
if (buffer == null) if (buffer == null)
throw new ArgumentNullException ("buffer"); throw new ArgumentNullException ("buffer");