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

Function ucs2length

  • ucs2length(s): 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

API Documentation
  • asset-credentials/src
  • chain-helpers/src
  • config/src
  • credentials/src
  • did/src
  • jsonld-suites/src
  • legacy-credentials/src
  • sdk-js/src
  • types/src
  • utils/src
    • Caip19
    • Caip2
    • Crypto
    • DataUtils
    • JsonSchema
      • OutputFormat
      • Validator
      • OutputUnit
      • Schema
      • ValidationResult
      • Evaluated
      • InstanceType
      • SchemaDraft
      • fastFormat
      • fullFormat
      • ignoredKeyword
      • initialBaseURI
      • schemaArrayKeyword
      • schemaKeyword
      • schemaMapKeyword
      • deepCompareStrict
      • dereference
      • encodePointer
      • escapePointer
      • ucs2length
      • validate
    • Multikey
    • SDKErrors
    • Signers
    • UUID
    • jsonabc
    • cbor
    • ss58Format