[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: string.pack with bit resolution
- From: bil til <flyer31@...>
- Date: Sun, 20 Oct 2019 01:09:33 -0700 (MST)
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
- References:
- string.pack with bit resolution, bil til
- Re: string.pack with bit resolution, Roberto Ierusalimschy
- Re: string.pack with bit resolution, bil til
- Re: string.pack with bit resolution, bil til
- Re: string.pack with bit resolution, Sean Conner
- Re: string.pack with bit resolution, bil til
- Re: string.pack with bit resolution, Sean Conner
- Re: string.pack with bit resolution, bil til
- Re: string.pack with bit resolution, bil til
- Re: string.pack with bit resolution, Sean Conner