putUInt32 static method

void putUInt32(
  1. Uint8List buf,
  2. int offset,
  3. int x
)

Implementation

static void putUInt32(Uint8List buf, int offset, int x) {
  buf[offset] = (x & 0xff);
  buf[offset + 1] = ((x >> 8) & 0xff);
  buf[offset + 2] = ((x >> 16) & 0xff);
  buf[offset + 3] = ((x >> 24) & 0xff);
}