Function binToHex

  • Encode a Uint8Array into a hexadecimal-encoded string.

    E.g.: binToHex(new Uint8Array([42, 100, 255]))'2a64ff'

    For the reverse, see hexToBin.

    Parameters

    • bytes: Uint8Array

      a Uint8Array to encode

    Returns string

Generated using TypeDoc