public static void HandleBase64(this WebSocketReader reader, string base64) { var bytes = Convert.FromBase64String(base64); reader.HandleReceive(bytes, bytes.Length); }
public static void HandleReceive(this WebSocketReader reader, string value) { var bytes = value.HexToBytes(); reader.HandleReceive(bytes, bytes.Length); }