fromHex
Midnight.js API Reference v2.0.2
Midnight.js API Reference / @midnight-ntwrk/midnight-js-utils / fromHex
Function: fromHex()
fromHex(
str):Buffer
Converts a hex string into a byte string.
Parameters
str
string
The hex string to decode.
Returns
Buffer