@midnight-ntwrk/midnight-js-utils v0.2.5 • API
Midnight.js API Reference v0.2.5 / @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