Skip to content

ReservedClass

Defined in: packages/candid/src/idl.ts:431

Represents an IDL Reserved

new ReservedClass(): ReservedClass

ReservedClass

PrimitiveType.constructor

get name(): string

Defined in: packages/candid/src/idl.ts:455

string

PrimitiveType.name

_buildTypeTableImpl(_typeTable): void

Defined in: packages/candid/src/idl.ts:232

TypeTable

void

PrimitiveType._buildTypeTableImpl


accept<D, R>(v, d): R

Defined in: packages/candid/src/idl.ts:432

D

R

Visitor<D, R>

D

R

PrimitiveType.accept


buildTypeTable(typeTable): void

Defined in: packages/candid/src/idl.ts:192

TypeTable

void

PrimitiveType.buildTypeTable


checkType(t): Type

Defined in: packages/candid/src/idl.ts:225

Type

Type

PrimitiveType.checkType


covariant(_x): _x is any

Defined in: packages/candid/src/idl.ts:436

Assert that JavaScript’s x is the proper type represented by this Type.

any

_x is any

PrimitiveType.covariant


decodeValue(b, t): null

Defined in: packages/candid/src/idl.ts:448

PipeArrayBuffer

Type

null

PrimitiveType.decodeValue


display(): string

Defined in: packages/candid/src/idl.ts:183

string

PrimitiveType.display


encodeType(): Uint8Array

Defined in: packages/candid/src/idl.ts:444

Implement I in the IDL spec. Encode this type for the type table.

Uint8Array

PrimitiveType.encodeType


encodeValue(): Uint8Array

Defined in: packages/candid/src/idl.ts:440

Internal

Encode the value. This needs to be public because it is used by encodeValue() from different types.

Uint8Array

PrimitiveType.encodeValue


valueToString(x): string

Defined in: packages/candid/src/idl.ts:187

any

string

PrimitiveType.valueToString