Represents an IDL Array
Arrays of fixed-sized nat/int type (e.g. nat8), are encoded from and decoded to TypedArrays (e.g. Uint8Array). Arrays of float or other non-primitive types are encoded/decoded as untyped array in Javascript.
Protected
Private
Implement I in the IDL spec. Encode this type for the type table.
I
Assert that JavaScript's x is the proper type represented by this Type.
x
Internal
Encode the value. This needs to be public because it is used by encodeValue() from different types.
Represents an IDL Array
Arrays of fixed-sized nat/int type (e.g. nat8), are encoded from and decoded to TypedArrays (e.g. Uint8Array). Arrays of float or other non-primitive types are encoded/decoded as untyped array in Javascript.
Param: t