putInt32 method

void putInt32(
  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 putInt32(int value) {
  _prepare(_sizeofInt32, 1);
  _setInt32AtTail(_tail, value);
}