[Modify] Remove it
This commit is contained in:
parent
80dffde6dd
commit
e2dab38139
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user