Function bytesToHex

  • Converts bytes to the equivalent hex string

    Example

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

    Parameters

    • uint8a: Uint8Array

    Returns string

Generated using TypeDoc