Encode a positive number as a 4-byte Uint32LE Uint8Array.
This method will return an incorrect result for values outside of the range 0 to 0xffffffff (4294967295). If applicable, applications should handle such cases prior to calling this method.
0
0xffffffff
4294967295
For an alternative overflow behavior, see numberToBinUint32LEClamped.
For the reverse, see binToNumberUint32LE.
the number to encode
Generated using TypeDoc
Encode a positive number as a 4-byte Uint32LE Uint8Array.
This method will return an incorrect result for values outside of the range
0to0xffffffff(4294967295). If applicable, applications should handle such cases prior to calling this method.For an alternative overflow behavior, see numberToBinUint32LEClamped.
For the reverse, see binToNumberUint32LE.