readBytes method

  1. @override
InputStreamBase readBytes(
  1. int count
)
override

Read count bytes from the stream.

Implementation

@override
InputStreamBase readBytes(int count) {
  final bytes = subset(offset - start, count);
  offset += bytes.length;
  return bytes as InputStream;
}