[Modify] Remove it

This commit is contained in:
sta 2018-12-14 20:46:59 +09:00
parent 80dffde6dd
commit e2dab38139

View File

@ -592,18 +592,6 @@ namespace WebSocketSharp.Net
} }
} }
private static void writeCharBytes (char c, IList buffer, Encoding encoding)
{
if (c > 255) {
foreach (var b in encoding.GetBytes (new[] { c }))
buffer.Add (b);
return;
}
buffer.Add ((byte) c);
}
#endregion #endregion
#region Internal Methods #region Internal Methods