From 82a214129b20746a435e6182e2768c07ce984c43 Mon Sep 17 00:00:00 2001 From: sta Date: Sat, 30 Jan 2021 22:22:49 +0900 Subject: [PATCH] [Modify] Edit it --- websocket-sharp/Net/RequestStream.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/websocket-sharp/Net/RequestStream.cs b/websocket-sharp/Net/RequestStream.cs index 69cef07c..0ed6c6ee 100644 --- a/websocket-sharp/Net/RequestStream.cs +++ b/websocket-sharp/Net/RequestStream.cs @@ -118,9 +118,9 @@ namespace WebSocketSharp.Net private int fillFromBuffer (byte[] buffer, int offset, int count) { // This method returns a int: - // - > 0 If we read something from the buffer - // - 0 If we can keep reading from the base stream - // - -1 If we had a content length set and we finished reading that many bytes + // - > 0 The number of bytes read from the internal buffer + // - 0 0 byte read from the internal buffer + // - -1 No more content data if (buffer == null) throw new ArgumentNullException ("buffer");