readBytes method

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

Read count bytes from the stream.

Implementation

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