1import { ByteBuffer } from './byte-buffer' 2import { Builder } from './builder' 3 4export type Offset = number; 5 6export type Table = { 7 bb: ByteBuffer 8 bb_pos: number 9}; 10 11export interface IGeneratedObject { 12 pack(builder:Builder): Offset 13 unpack(): IGeneratedObject 14}