Convert a number to a Uint8Array.
number
Uint8Array
The bytes as Uint8Array.
If the number is not a safe integer.
The number to convert to bytes.
Convert a
numberto aUint8Array.Returns
The bytes as
Uint8Array.Throws
If the number is not a safe integer.