write32 method

BcsWriter write32(
  1. int value
)

Write a U32 value into a buffer and shift cursor position by 4.

Implementation

BcsWriter write32(int value) {
  ensureSizeOrGrow(4);
  _dataView.setUint32(_bytePosition, value, Endian.little);
  return shift(4);
}