ic-reactor
    Preparing search index...

    Class PrimitiveType<T>Abstract

    Represents an IDL type.

    Type Parameters

    • T = any

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    typeName: IdlTypeName
    name: string

    Methods

    • Returns string

    • Parameters

      Returns string

    • Parameters

      • typeTable: TypeTable

      Returns void

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

      Parameters

      • x: any

      Returns x is T

    • Internal

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

      Parameters

      Returns Uint8Array

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

      Parameters

      • typeTable: TypeTable

      Returns Uint8Array

    • Parameters

      • _typeTable: TypeTable

      Returns void