read method

  1. @override
Future<Uint8List> read([
  1. int? maxLength
])
override

Reads data from the stream

Implementation

@override
Future<Uint8List> read([int? maxLength]) async {
  if (_isClosed) {
    throw Exception('Stream $_id is closed');
  }
  return _underlyingMuxedStream.read(maxLength);
}