RTCDataChannelMessage.fromBinary constructor

RTCDataChannelMessage.fromBinary(
  1. Uint8List binary
)

Construct a binary message with a Uint8List.

Implementation

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