...

Text file src/github.com/google/flatbuffers/tests/ts/my-game/example/test-simple-table-with-enum.d.ts

Documentation: github.com/google/flatbuffers/tests/ts/my-game/example

     1import * as flatbuffers from 'flatbuffers';
     2import { Color } from '../../my-game/example/color.js';
     3export declare class TestSimpleTableWithEnum implements flatbuffers.IUnpackableObject<TestSimpleTableWithEnumT> {
     4    bb: flatbuffers.ByteBuffer | null;
     5    bb_pos: number;
     6    __init(i: number, bb: flatbuffers.ByteBuffer): TestSimpleTableWithEnum;
     7    static getRootAsTestSimpleTableWithEnum(bb: flatbuffers.ByteBuffer, obj?: TestSimpleTableWithEnum): TestSimpleTableWithEnum;
     8    static getSizePrefixedRootAsTestSimpleTableWithEnum(bb: flatbuffers.ByteBuffer, obj?: TestSimpleTableWithEnum): TestSimpleTableWithEnum;
     9    color(): Color;
    10    mutate_color(value: Color): boolean;
    11    static getFullyQualifiedName(): string;
    12    static startTestSimpleTableWithEnum(builder: flatbuffers.Builder): void;
    13    static addColor(builder: flatbuffers.Builder, color: Color): void;
    14    static endTestSimpleTableWithEnum(builder: flatbuffers.Builder): flatbuffers.Offset;
    15    static createTestSimpleTableWithEnum(builder: flatbuffers.Builder, color: Color): flatbuffers.Offset;
    16    serialize(): Uint8Array;
    17    static deserialize(buffer: Uint8Array): TestSimpleTableWithEnum;
    18    unpack(): TestSimpleTableWithEnumT;
    19    unpackTo(_o: TestSimpleTableWithEnumT): void;
    20}
    21export declare class TestSimpleTableWithEnumT implements flatbuffers.IGeneratedObject {
    22    color: Color;
    23    constructor(color?: Color);
    24    pack(builder: flatbuffers.Builder): flatbuffers.Offset;
    25}

View as plain text