Function bytesToHex

  • Converts bytes to the equivalent hex string

    Parameters

    • uint8a: Uint8Array

    Returns string

    Example

    bytesToHex(Uint8Array.from([0xde, 0xad, 0xbe, 0xef])) // 'deadbeef'
    

Generated using TypeDoc