[Modify] Add an extension method

This commit is contained in:
sta 2015-10-14 17:11:46 +09:00
parent 16e5111996
commit d5b6bcfe88

View File

@ -901,6 +901,11 @@ namespace WebSocketSharp
input.CopyTo (stream); input.CopyTo (stream);
} }
internal static void WriteBytes (this Stream stream, byte[] bytes, int length)
{
stream.Write (bytes, 0, length);
}
#endregion #endregion
#region Public Methods #region Public Methods