putInt8 method
Writes a Uint8 to the tail of the buffer after preparing space for it.
Updates the offset pointer. This method is intended for use when writing structs to the buffer.
Implementation
void putInt8(int value) {
_prepare(_sizeofInt8, 1);
_buf.setInt8(_buf.lengthInBytes - _tail, value);
}