MagicHeaderAndLengthByteTransformer.broadcast constructor
MagicHeaderAndLengthByteTransformer.broadcast({})
Implementation
MagicHeaderAndLengthByteTransformer.broadcast(
{bool sync = false, this.cancelOnError, this.header, this.maxLen = 1024, this.clearTimeout = const Duration(seconds: 1)}) {
_partial = [];
_controller = new StreamController<Uint8List>.broadcast(
onListen: _onListen, onCancel: _onCancel, sync: sync);
}