writeUint8 method
Writes a Uint8 i
into the buffer
i
: The value to write
Implementation
void writeUint8(int i) {
_ensureSize(uint8Size);
_scratchData!.setUint8(_scratchOffset, i);
_scratchOffset += uint8Size;
}
Writes a Uint8 i
into the buffer
i
: The value to writevoid writeUint8(int i) {
_ensureSize(uint8Size);
_scratchData!.setUint8(_scratchOffset, i);
_scratchOffset += uint8Size;
}