readByte method Null safety

int readByte()

Read a single byte.

Implementation

int readByte() {
  return buffer[offset++];
}