[Modify] Polish it

This commit is contained in:
sta 2019-06-24 21:49:21 +09:00
parent 8357ed025c
commit b0cb2ad93e

View File

@ -1240,7 +1240,12 @@ namespace WebSocketSharp
}
internal static void WriteBytesAsync (
this Stream stream, byte[] bytes, int bufferLength, Action completed, Action<Exception> error)
this Stream stream,
byte[] bytes,
int bufferLength,
Action completed,
Action<Exception> error
)
{
var input = new MemoryStream (bytes);
input.CopyToAsync (
@ -1256,7 +1261,8 @@ namespace WebSocketSharp
input.Dispose ();
if (error != null)
error (ex);
});
}
);
}
#endregion