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
{{ message }}
This repository was archived by the owner on Apr 27, 2023. It is now read-only.
The code i am trying to port and uses struct needs this feature of Ierusalimschy's struct.unpack:
... After the read values, this function also returns the index in s where it stopped reading, which is also where you should start to read the rest of the string.
So i added it to my copy of lua-struct, as easy as adding a line at the end:
table.insert(vars, iterator) --<-- one linereturnunpack(vars)