Encode a positive integer as a 4-byte Uint32LE Uint8Array, clamping the results – values exceeding 0xffffffff (4294967295) return the same result as 0xffffffff, negative values will return the same result as 0.
0xffffffff
4294967295
0
the number to encode
Generated using TypeDoc
Encode a positive integer as a 4-byte Uint32LE Uint8Array, clamping the results – values exceeding
0xffffffff
(4294967295
) return the same result as0xffffffff
, negative values will return the same result as0
.