pdf-lite - v1.0.1
    Preparing search index...

    Function hexToBytes

    • Converts a hexadecimal string to a byte array.

      Parameters

      • hex: string

        The hexadecimal string to convert.

      Returns ByteArray

      A byte array containing the decoded values.

      hexToBytes('FF00') // Returns Uint8Array([255, 0])