Methods
(static) bytesToHex(bytes) → {string}
Convert a byte array to a hex string
Parameters:
Name | Type | Description |
---|---|---|
bytes |
Array.<number>
|
Returns:
- Type:
-
string
hex
(static) hexToBytes(hex) → {Array.<number>}
Convert a hex string to a byte array
Parameters:
Name | Type | Description |
---|---|---|
hex |
string
|
Returns:
- Type:
-
Array.<number>
bytes