BC-DCBOR TypeScript Library - v1.0.0-alpha.13
    Preparing search index...

      BC-DCBOR TypeScript Library - v1.0.0-alpha.13

      BC-DCBOR TypeScript Library

      A TypeScript implementation of Blockchain Commons' Deterministic CBOR (dCBOR).

      Enumerations

      EdgeType

      Classes

      ByteString
      CborDate
      CborError
      CborMap
      CborSet
      TagsStore

      Interfaces

      CborEncodable
      CborDecodable
      CborCodable
      CborTaggedCodable
      CborTaggedDecodable
      CborTaggedEncodable
      CborTagged
      CborUnsignedType
      CborNegativeType
      CborByteStringType
      CborTextType
      CborArrayType
      CborMapType
      CborTaggedType
      CborSimpleType
      CborMethods
      CborArrayWrapper
      DiagFormatOpts
      HexFormatOpts
      MapEntry
      Tag
      TagsStoreTrait

      Type Aliases

      MajorType
      CborNumber
      CborInput
      Cbor
      Error
      Result
      Simple
      SummarizerResult
      CborSummarizer
      EdgeTypeVariant
      WalkElement
      Visitor

      Variables

      MajorType
      Cbor
      asByteString
      asCborMap
      TAG_DATE_TIME_STRING
      TAG_EPOCH_DATE_TIME
      TAG_EPOCH_DATE
      TAG_POSITIVE_BIGNUM
      TAG_NEGATIVE_BIGNUM
      TAG_DECIMAL_FRACTION
      TAG_BIGFLOAT
      TAG_BASE64URL
      TAG_BASE64
      TAG_BASE16
      TAG_ENCODED_CBOR
      TAG_URI
      TAG_BASE64URL_TEXT
      TAG_BASE64_TEXT
      TAG_REGEXP
      TAG_MIME_MESSAGE
      TAG_UUID
      TAG_STRING_REF_NAMESPACE
      TAG_BINARY_UUID
      TAG_SET
      TAG_SELF_DESCRIBE_CBOR
      TAG_DATE
      TAG_NAME_DATE

      Functions

      validateTag
      extractTaggedContent
      createTaggedCbor
      cbor
      cborData
      toByteString
      toByteStringFromHex
      toTaggedValue
      extractCbor
      isUnsigned
      isNegative
      isInteger
      isBytes
      isText
      isArray
      isMap
      isTagged
      isSimple
      isBoolean
      isNull
      isFloat
      asUnsigned
      asNegative
      asInteger
      asBytes
      asText
      asArray
      asMap
      asBoolean
      asFloat
      asNumber
      expectUnsigned
      expectNegative
      expectInteger
      expectBytes
      expectText
      expectArray
      expectMap
      expectBoolean
      expectFloat
      expectNumber
      arrayItem
      arrayLength
      arrayIsEmpty
      mapValue
      mapHas
      mapKeys
      mapValues
      mapSize
      mapIsEmpty
      tagValue
      tagContent
      hasTag
      getTaggedContent
      expectTaggedContent
      asTaggedValue
      asCborArray
      isNumber
      decodeCbor
      diagnosticOpt
      summary
      bytesToHex
      hexToBytes
      hexOpt
      errorMsg
      errorToString
      Ok
      Err
      hasFractionalPart
      simpleName
      isNaN
      createTag
      getGlobalTagsStore
      registerTagsIn
      registerTags
      tagsForValues
      encodeVarInt
      decodeVarIntData
      decodeVarInt
      edgeLabel
      asSingle
      asKeyValue
      walk

      References

      tryIntoText → expectText
      tryIntoBool → expectBoolean
      tryIntoByteString → expectBytes
      tryExpectedTaggedValue → expectTaggedContent