diff --git a/websocket-sharp/Ext.cs b/websocket-sharp/Ext.cs index 1bea822f..071adff5 100644 --- a/websocket-sharp/Ext.cs +++ b/websocket-sharp/Ext.cs @@ -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