[Lua] manipulate byte array as string (#6624)
author罗泽轩 <spacewanderlzx@gmail.com>
Sat, 8 May 2021 05:57:13 +0000 (13:57 +0800)
committerGitHub <noreply@github.com>
Sat, 8 May 2021 05:57:13 +0000 (22:57 -0700)
commit4525cd9c5609f41e6f82f219a8dfef89d73e207e
tree2e77e09b0bd544796cb72c3107ea9c47a5924239
parent47361baf61d635e65346d796c609d534e65d20d7
[Lua] manipulate byte array as string (#6624)

* [Lua] manipulate byte array as string

Sometimes it would be more effective than reading byte by byte

* change according to the review

* update
lua/flatbuffers/view.lua
src/idl_gen_lua.cpp
tests/MyGame/Example/Monster.lua
tests/MyGame/Example/TypeAliases.lua
tests/luatest.lua