Function BAtohex

  • convert an array of bytes(Number) to hexadecimal string.

    Parameters

    • a: number[]

      an array of byte

    Returns string

    hexadecimal string

    See

    hextoBA

    Example

    hextoBA([97, 97, 97]) -> "616161"