[Modify] Add it
This commit is contained in:
parent
fe409a16f3
commit
09ab8f01d2
@ -637,6 +637,16 @@ Extended Payload Length: {7}
|
|||||||
stream.ReadBytesAsync (llen, 1024, compl, error);
|
stream.ReadBytesAsync (llen, 1024, compl, error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static string utf8Decode (byte[] bytes)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
return Encoding.UTF8.GetString (bytes);
|
||||||
|
}
|
||||||
|
catch {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Internal Methods
|
#region Internal Methods
|
||||||
|
Loading…
Reference in New Issue
Block a user