Function: toLittleEndian
Utils.toLittleEndian
▸ toLittleEndian(bigEndian
, pad?
): HexString
| never
Convert big-endian hex or number to little-endian. Note: Before conversion it is automatically padded to even length hexstring
Parameters
Name | Type | Default value | Description |
---|---|---|---|
bigEndian | string | number | HexString <number > | undefined | Big-endian hex string or number to convert |
pad | number | 2 | Length to which the string should be padded before conversion (defaul: 2) |
Returns
HexString
| never
little-endian encoded hexstring