flatbuffers
flatbuffers copied to clipboard
--force-empty only support cpp ?
Hello , I wrote a golang app comunicate to a app c++, while using flatc I found --force-empty not working in golang. it gennerate some code like
type_Offset := flatbuffers.UOffsetT(0)
if t.Type != "" {
type_Offset = builder.CreateString(t.Type)
}
it mean no field in builder while accessing it in C++ , I got 0 so coredump.