pamoja for TypeScript - v0.1.17
    Preparing search index...

    Class MessageSchema

    The shape of one message: its id, name, seed, and fields.

    Index
    • get crcExtra(): number

      The CRC_EXTRA seed a frame carrying this message folds into its checksum.

      Returns number

    • get id(): number

      The id of the message this schema describes.

      Returns number

    • get name(): string

      The name of the message this schema describes.

      Returns string

    • get wireLen(): number

      The length of the message on the wire, in bytes, extensions included.

      Returns number

    • Returns the shape of a message the engine types, by id.

      Parameters

      • msgid: number

        The message id to look up.

      Returns MessageSchema

      The shape.

      If this build does not type that id, which is what a builder is for.

    • Returns the shape of a message the engine types, by name.

      Parameters

      • name: string

        The message name, such as GLOBAL_POSITION_INT.

      Returns MessageSchema

      The shape.

      If this build does not type that name.