Function checkHexEncoding

  • Checks that the given string is encoded in valid Base64.

    Parameters

    • encoded: string

      the string-encoded bytes

    • Optional errorMessage: string

      human-readable message for error thrown if decoding fails.

    Returns string

Generated using TypeDoc