19 lines
476 B
Go
19 lines
476 B
Go
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||
|
|
||
|
package Example2
|
||
|
|
||
|
import (
|
||
|
flatbuffers "github.com/google/flatbuffers/go"
|
||
|
)
|
||
|
type Monster struct {
|
||
|
_tab flatbuffers.Table
|
||
|
}
|
||
|
|
||
|
func (rcv *Monster) Init(buf []byte, i flatbuffers.UOffsetT) {
|
||
|
rcv._tab.Bytes = buf
|
||
|
rcv._tab.Pos = i
|
||
|
}
|
||
|
|
||
|
func MonsterStart(builder *flatbuffers.Builder) { builder.StartObject(0) }
|
||
|
func MonsterEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT { return builder.EndObject() }
|