readByte method

  1. @override
int readByte()
override

Reads one byte of input, waiting for it. Gives back -1 at the end.

Implementation

@override
int readByte() => _bytes.isEmpty ? -1 : _bytes.removeAt(0);