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