- Preparing search index...
- The search index is not available
cardano-sdk
Constructors
constructor
- new CborReader(data: HexBlob): CborReader
-
Properties
Private
#private
#private: any
Methods
getBytesRemaining
- getBytesRemaining(): number
-
Returns number
peekState
- peekState(): CborReaderState
-
peekTag
- peekTag(): CborTag
-
readBoolean
- readBoolean(): boolean
-
Returns boolean
readByteString
- readByteString(): Uint8Array
-
Returns Uint8Array
readCborNegativeIntegerRepresentation
- readCborNegativeIntegerRepresentation(): bigint
-
Returns bigint
readDefiniteLengthByteString
- readDefiniteLengthByteString(): Uint8Array
-
Returns Uint8Array
readDefiniteLengthTextString
- readDefiniteLengthTextString(): string
-
Returns string
readDouble
- readDouble(): number
-
Returns number
readEncodedValue
- readEncodedValue(): Uint8Array
-
Returns Uint8Array
readEndArray
- readEndArray(): void
-
Returns void
readEndIndefiniteLengthByteString
- readEndIndefiniteLengthByteString(): void
-
Returns void
readEndIndefiniteLengthTextString
- readEndIndefiniteLengthTextString(): void
-
Returns void
readEndMap
- readEndMap(): void
-
Returns void
readInt
- readInt(): bigint
-
Returns bigint
readNull
- readNull(): void
-
Returns void
readSimpleValue
- readSimpleValue(): CborSimpleValue
-
readStartArray
- readStartArray(): null | number
-
Returns null | number
readStartIndefiniteLengthByteString
- readStartIndefiniteLengthByteString(): void
-
Returns void
readStartIndefiniteLengthTextString
- readStartIndefiniteLengthTextString(): void
-
Returns void
readStartMap
- readStartMap(): null | number
-
Returns null | number
readTag
- readTag(): CborTag
-
readTextString
- readTextString(): string
-
Returns string
readUInt
- readUInt(): bigint
-
Returns bigint
skipValue
- skipValue(): void
-
Returns void
Static
ensureReadCapacityInArray
- ensureReadCapacityInArray(data: Uint8Array, bytesToRead: number): void
-
Parameters
-
data: Uint8Array
-
bytesToRead: number
Returns void
Static
mapSimpleValueDataToReaderState