[Modify] Add it

This commit is contained in:
sta 2019-08-05 21:46:39 +09:00
parent fe409a16f3
commit 09ab8f01d2

View File

@ -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