process method

Future<Uint8List> process(
  1. Uint8List messageBytes
)

Processes a request message and returns the response as a Uint8List.

messageBytes is the request message in bytes. Returns the response message as a Uint8List.

Implementation

Future<Uint8List> process(Uint8List messageBytes) async {
  final response = await _server.process(messageBytes.toJS).toDart;
  return response.toDart;
}