Merge pull request #3977 from gonzaloserrano/feature/go-generic-deserialitzation

Add a generic way to deserialize a flatbuffer in Go.
This commit is contained in:
Robert
2016-12-07 11:17:55 -08:00
committed by GitHub
9 changed files with 236 additions and 140 deletions

View File

@@ -22,6 +22,10 @@ func (rcv *Monster) Init(buf []byte, i flatbuffers.UOffsetT) {
rcv._tab.Pos = i
}
func (rcv *Monster) Table() flatbuffers.Table {
return rcv._tab
}
func MonsterStart(builder *flatbuffers.Builder) {
builder.StartObject(0)
}