Skip to content

Commit d4399f6

Browse files
committed
[Modify] Remove it
1 parent 5092a2f commit d4399f6

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

websocket-sharp/Net/HttpUtility.cs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -560,20 +560,6 @@ private static byte[] urlDecodeToBytes (byte[] bytes, int offset, int count)
560560
}
561561
}
562562

563-
private static void urlDecodeUnicode (
564-
byte[] bytes, int offset, Stream output
565-
)
566-
{
567-
var num = getNumber (bytes, offset + 2, 4);
568-
if (num == -1) {
569-
output.Write (bytes, offset, 6);
570-
return;
571-
}
572-
573-
var decoded = Encoding.Unicode.GetBytes (new[] { (char) num });
574-
output.Write (decoded, 0, decoded.Length);
575-
}
576-
577563
private static void urlEncode (byte b, Stream output)
578564
{
579565
if (b > 31 && b < 127) {

0 commit comments

Comments
 (0)