ReservedClass
Defined in: packages/candid/src/idl.ts:431
Represents an IDL Reserved
Extends
Section titled “Extends”PrimitiveType
<any
>
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ReservedClass():
ReservedClass
Returns
Section titled “Returns”ReservedClass
Inherited from
Section titled “Inherited from”Accessors
Section titled “Accessors”Get Signature
Section titled “Get Signature”get name():
string
Defined in: packages/candid/src/idl.ts:455
Returns
Section titled “Returns”string
Overrides
Section titled “Overrides”Methods
Section titled “Methods”_buildTypeTableImpl()
Section titled “_buildTypeTableImpl()”_buildTypeTableImpl(
_typeTable
):void
Defined in: packages/candid/src/idl.ts:232
Parameters
Section titled “Parameters”_typeTable
Section titled “_typeTable”TypeTable
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”PrimitiveType
._buildTypeTableImpl
accept()
Section titled “accept()”accept<
D
,R
>(v
,d
):R
Defined in: packages/candid/src/idl.ts:432
Type Parameters
Section titled “Type Parameters”D
R
Parameters
Section titled “Parameters”Visitor
<D
, R
>
D
Returns
Section titled “Returns”R
Overrides
Section titled “Overrides”buildTypeTable()
Section titled “buildTypeTable()”buildTypeTable(
typeTable
):void
Defined in: packages/candid/src/idl.ts:192
Parameters
Section titled “Parameters”typeTable
Section titled “typeTable”TypeTable
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”checkType()
Section titled “checkType()”checkType(
t
):Type
Defined in: packages/candid/src/idl.ts:225
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”covariant()
Section titled “covariant()”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.
Parameters
Section titled “Parameters”any
Returns
Section titled “Returns”_x is any
Overrides
Section titled “Overrides”decodeValue()
Section titled “decodeValue()”decodeValue(
b
,t
):null
Defined in: packages/candid/src/idl.ts:448
Parameters
Section titled “Parameters”Returns
Section titled “Returns”null
Overrides
Section titled “Overrides”display()
Section titled “display()”display():
string
Defined in: packages/candid/src/idl.ts:183
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”encodeType()
Section titled “encodeType()”encodeType():
Uint8Array
Defined in: packages/candid/src/idl.ts:444
Implement I
in the IDL spec.
Encode this type for the type table.
Returns
Section titled “Returns”Uint8Array
Overrides
Section titled “Overrides”encodeValue()
Section titled “encodeValue()”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.
Returns
Section titled “Returns”Uint8Array
Overrides
Section titled “Overrides”valueToString()
Section titled “valueToString()”valueToString(
x
):string
Defined in: packages/candid/src/idl.ts:187
Parameters
Section titled “Parameters”any
Returns
Section titled “Returns”string