putUint32 method

void putUint32(
  1. int value
)

Writes a Uint32 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 putUint32(int value) {
  _prepare(_sizeofUint32, 1);
  _setUint32AtTail(_tail, value);
}