writeInt32 method
Writes a int32 i
into the buffer
i
: The value to writeendian
: The endianess, Endian.big by default
Implementation
void writeInt32(int i, [Endian endian = Endian.big]) {
_ensureSize(int32Size);
_scratchData!.setInt32(_scratchOffset, i, endian);
_scratchOffset += int32Size;
}