- Preparing search index...
- The search index is not available
cardano-sdk
Constructors
Private
constructor
- new CborSet<C, T>(): CborSet<C, T>
-
Properties
Private
#private
#private: any
Methods
setValues
- setValues(values: T[]): void
-
Returns void
size
- size(): number
-
Returns number
toCbor
- toCbor(): HexBlob
-
toCore
- toCore(): C[]
-
Returns C[]
values
- values(): readonly T[]
-
Returns readonly T[]
Static
fromCbor
- fromCbor<C, S>(cbor: HexBlob, fromCbor: ((cbor: HexBlob) => S)): CborSet<C, S>
-
Static
fromCore
- fromCore<C, S>(coreValues: C[], fromCore: ((coreValue: C) => S)): CborSet<C, S>
-
Parameters
-
coreValues: C[]
-
fromCore: ((coreValue: C) => S)
-
- (coreValue: C): S
-
Returns S