• Preparing search index...
  • The search index is not available
API Documentation
  • API Documentation
  • utils/src
  • JsonSchema
  • ucs2length

Function ucs2length

  • ucs2length(s: string): number
  • Get UCS-2 length of a string https://mathiasbynens.be/notes/javascript-encoding https://github.com/bestiejs/punycode.js - punycode.ucs2.decode

    Parameters

    • s: string

    Returns number

    • Defined in packages/utils/src/json-schema/ucs2-length.ts:7

Settings

Member Visibility

Theme

Modules

  • API Documentation
    • asset-did/src
    • augment-api/src
    • chain-helpers/src
      • Blockchain
      • ErrorHandler
      • SubscriptionPromise
    • config/src
      • ConfigService
    • core/src
      • Attestation
      • BalanceUtils
      • CType
        • Schemas
      • Claim
      • Credential
      • DelegationNodeUtils
      • PublicCredential
      • Quote
    • did/src
    • messaging/src
    • sdk-js/src
    • type-definitions/src
    • types/src
      • SubscriptionPromise
    • utils/src
      • Crypto
      • DataUtils
      • JsonSchema
      • SDKErrors
      • UUID
      • jsonabc
    • vc-export/src
      • constants
      • presentation
      • vcjsSuites
        • suites
          • KiltAttestedSuite
          • KiltIntegritySuite
          • KiltSignatureSuite
      • verification
  • OutputFormat
  • Validator
  • OutputUnit
  • Schema
  • ValidationResult
  • Evaluated
  • InstanceType
  • SchemaDraft
  • fastFormat
  • fullFormat
  • ignoredKeyword
  • initialBaseURI
  • schemaArrayKeyword
  • schemaKeyword
  • schemaMapKeyword
  • deepCompareStrict
  • dereference
  • encodePointer
  • escapePointer
  • ucs2length
  • validate