serializeU32 method
Implementation
void serializeU32(int value) {
checkNumberRange(
BigInt.from(value),
BigInt.zero,
BigInt.from(MAX_U32_NUMBER));
int bytesLength = 4;
_ensureBufferWillHandleSize(bytesLength);
final bd = ByteData.sublistView(buffer);
bd.setUint32(offset, value, Endian.little);
offset += bytesLength;
}