luajava icon indicating copy to clipboard operation
luajava copied to clipboard

pass byte[] data structure from Java to Lua

Open ocean-vivaforever opened this issue 5 months ago • 1 comments

I want to pass a byte[] data structure from Java to a Lua function and handle it as a string. How should I do this? I am getting an error when using LuaValue.call(byte[]) on the Lua side, the response is "not string type" please help

My Lua environment is LuaJIT

ocean-vivaforever avatar Sep 29 '24 08:09 ocean-vivaforever