processServerResponse function

  1. @visibleForTesting
void processServerResponse(
  1. Uint8List data,
  2. Function onData
)

Processes the server response (represented as a Uint8List) and calls onData handler if we have received a good packet.

Implementation

@visibleForTesting
void processServerResponse(Uint8List data, Function onData) {
  return _processServerResponse(data, onData);
}