Like readBytes, but reads a single Uint8 and returns it as int.
Future<int?> readUint8() async { final bytes = await readBytes(1); return (bytes != null) ? bytes[0] : null; }