[Modify] Add an extension method
This commit is contained in:
parent
16e5111996
commit
d5b6bcfe88
@ -901,6 +901,11 @@ namespace WebSocketSharp
|
||||
input.CopyTo (stream);
|
||||
}
|
||||
|
||||
internal static void WriteBytes (this Stream stream, byte[] bytes, int length)
|
||||
{
|
||||
stream.Write (bytes, 0, length);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Public Methods
|
||||
|
Loading…
Reference in New Issue
Block a user