You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm not been guided for how to import this runtime library.
I found namespace conflict, especially class, enum etc, if I copy them to my 'lualibs' directly.
For class, enum, string_stream, string_decode and kaitaistruct all in the same folder level.
And only kaitaistruct is exposed as interface I think.
So, I thought to organize based on kaitaistruct is nice.
kaitaistruct.lua
"kaitaistruct" directory
class.lua
enum.lua
string_stream.lua
string_decode.lua
And require'kaitaistruct.class', require'kaitaistruct.enum', require'kaitaistruct.string_stream', require'kaitaistruct.string_decode' internal.
The text was updated successfully, but these errors were encountered:
Hi, I'm not been guided for how to import this runtime library.
I found namespace conflict, especially
class
,enum
etc, if I copy them to my 'lualibs' directly.For
class
,enum
,string_stream
,string_decode
andkaitaistruct
all in the same folder level.And only
kaitaistruct
is exposed as interface I think.So, I thought to organize based on
kaitaistruct
is nice.And
require'kaitaistruct.class'
,require'kaitaistruct.enum'
,require'kaitaistruct.string_stream'
,require'kaitaistruct.string_decode'
internal.The text was updated successfully, but these errors were encountered: