pub fn decode_websocket_binary_frame_batch_json( frames: &[u8], max_frames: u32, ) -> Result<String, JsValue>