getU8Decoder function
Creates a FixedSizeDecoder for unsigned 8-bit integers (u8).
Decodes a single byte as an int in the range 0, 255.
Implementation
FixedSizeDecoder<int> getU8Decoder() => numberDecoderFactory(
name: 'u8',
size: 1,
get: (data, offset, _) => data.getUint8(offset),
);