@nospamproxy/core
    Preparing search index...

    A utility class to convert the Base64-encoded representation of byte[] (binary data) for JSON from OData service to equivalent hexadecimal string and back. Refer: https://www.odata.org/documentation/odata-version-2-0/json-format/

    Index

    Constructors

    Methods

    • Decodes the Base64 encoded string (received from OData service) to equivalent hexadecimal string.

      Parameters

      • base64String: string

      Returns string

    • Encodes the hexadecimal string to Base64 encoded string.

      Parameters

      • hexString: string

      Returns string

      when the input string is not a valid hex string.