writeInt8 method

void writeInt8(
  1. int i
)

Writes a int8 i into the buffer

  • i: The value to write

Implementation

void writeInt8(int i) {
  _ensureSize(int8Size);
  _scratchData!.setInt8(_scratchOffset, i);
  _scratchOffset += int8Size;
}