The value to convert, which can be a string, number, bigint, or HexLike.
Optional
bytes: numberThe number of bytes to use for the representation. If not provided, the exact number of bytes needed is used.
A Uint8Array containing the byte representation of the numeric value.
Converts a NumLike value to a byte array in big-endian order.