readByte method

int readByte({
  1. bool signed = false,
})
inherited

Reads a single byte at readPosition.

Implementation

int readByte({bool signed = false}) {
  return signed
      ? readByteData!.getInt8(readPosition++)
      : readByteData!.getUint8(readPosition++);
}