[Modify] Polish it

This commit is contained in:
sta 2019-06-28 19:49:35 +09:00
parent e5fefd3abf
commit 2dfde14d5d

View File

@ -1245,8 +1245,8 @@ namespace WebSocketSharp
this Stream stream, byte[] bytes, int bufferLength this Stream stream, byte[] bytes, int bufferLength
) )
{ {
using (var input = new MemoryStream (bytes)) using (var src = new MemoryStream (bytes))
input.CopyTo (stream, bufferLength); src.CopyTo (stream, bufferLength);
} }
internal static void WriteBytesAsync ( internal static void WriteBytesAsync (