readByteSync method

  1. @override
int readByteSync()
override

Reads a single byte synchronously from input.

This is the primary method used for key event reading. Blocks until a byte is available.

Implementation

@override
int readByteSync() {
  _calls.add('input.readByteSync');
  return 13;
}