flatbuffers/ts/types.ts

14 lines
268 B
TypeScript

import { ByteBuffer } from './byte-buffer'
import { Builder } from './builder'
export type Offset = number;
export type Table = {
bb: ByteBuffer
bb_pos: number
};
export interface IGeneratedObject {
pack(builder:Builder): Offset
unpack(): IGeneratedObject
}