onData method

void onData(
  1. dynamic data
)

Implementation

void onData(data) {
  parseMessage(InputStream(
    ByteData.view(data.buffer),
    data.buffer.lengthInBytes,
  ));
}