lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi Sean,
thank you for your answer.

But above, you were already confirming, that some format string to transfer
data uniquely between different lua systems is necessary (e. g. LUA_32 <>
LUA_64, or this would also need uniqueness for LUA_64 (little-endian) <>
LUA_64 (big_endian)).

Alignment OF COURSE is an issue in number formats. But I do not know an
application, where alignment "in a packed number string" would be an issue.
Or do you want to specify the alignment only for unpack to specify the
number alignment? ... but unpack of course when creating numbers ALWAYS will
create lua_Number, and this then of course is the native alignment on the
machine doing the unpacking?




--
Sent from: http://lua.2524044.n2.nabble.com/Lua-l-f2524044.html