Options
All
  • Public
  • Public/Protected
  • All
Menu

Class VecClass<T>

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

Type Parameters

  • T

Hierarchy

Index

Constructors

Properties

_blobOptimization: boolean = false
_type: Type<T>

Accessors

  • get name(): string

Methods

  • _buildTypeTableImpl(typeTable: TypeTable): void
  • accept<D, R>(v: Visitor<D, R>, d: D): R
  • buildTypeTable(typeTable: TypeTable): void
  • covariant(x: any): x is T[]
  • display(): string
  • encodeType(typeTable: TypeTable): ArrayBuffer
  • encodeValue(x: T[]): ArrayBuffer
  • valueToString(x: T[]): string

Generated using TypeDoc