RTCDataChannelMessage.fromBinary constructor

RTCDataChannelMessage.fromBinary(
  1. Uint8List binary
)

Construct a binary message with a Uint8List.

Implementation

RTCDataChannelMessage.fromBinary(Uint8List binary) {
  _data = binary;
  _isBinary = true;
}