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

    Variable asByteStringConst

    asByteString: (cbor: Cbor) => Uint8Array<ArrayBufferLike> | undefined = asBytes

    Alias for asBytes - extract byte string value if type matches. Named asByteString for envelope compatibility.

    Type Declaration

      • (cbor: Cbor): Uint8Array<ArrayBufferLike> | undefined
      • Extract byte string value if type matches.

        Parameters

        • cbor: Cbor

          CBOR value

        Returns Uint8Array<ArrayBufferLike> | undefined

        Byte string or undefined

    CBOR value

    Byte string or undefined