• Converts a buffer to a hexadecimal string. It accepts 'Buffer' or 'Uint8Array'. The hexadecimal string will not start with '0x' or '0X'. It keeps the bytes in the same order.

    Parameters

    • value: Uint8Array | Buffer

      The buffer to convert.

    Returns string

    The converted hexadecimal string.