Why GetRootAs does not support using a pointer plus length as a parameter to a function
FlatBuffer 2.0
Language:Lua
like this:
local mon = monster.GetRootAsMonster(ptr, len)
I have found that it is like this in luatest.lua file : local mon = monster.GetRootAsMonster(buf, offset).
I have found that it is like this in luatest.lua file :
local mon = monster.GetRootAsMonster(buf, offset).
I want the argument to the function to be a ptr instead of a string
I did this on my own
Add the pointer versions of string.unpack and string.sub to the lua source code, and then modify the lua code for flatbuffers
This issue is stale because it has been open 6 months with no activity. Please comment or label not-stale, or this will be closed in 14 days.
This issue was automatically closed due to no activity for 6 months plus the 14 day notice period.