|
Am 16.04.2014 05:37 schröbte Jorge:
On 13/04/14 21:39, Daurnimator wrote:I'm wondering if anyone has had time to re-implement struct or lpack in pure lua yet? Ben Kelly's (a.k.a. ToxicFrog) vstruct might be an interesting place to start... If not, I might have a go at it next weekend...Oh, that would be really useful!
I'm not sure whether it is possible to detect the native endianess and/or integer word size in pure Lua, so a pure Lua port of struct might not be possible ...
But if it is, please also have a look at [1] ...
Jorge
Philipp [1]: http://comments.gmane.org/gmane.comp.lang.lua.general/105068