writeUInt32 method

void writeUInt32(
  1. int value
)

Implementation

void writeUInt32(int value) {
  assert(value >= 0);
  writeUInt8((value >> 24) & 0xff);
  writeUInt8((value >> 16) & 0xff);
  writeUInt8((value >> 8) & 0xff);
  writeUInt8((value & 0xff));
}