lua-users home
lua-l archive

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

> After a lot of hassle I settled on Lua Marshal which might be a starting
> point.
> Plain C.
> No table size limit unlike almost all Lua high level based.
> No funny code I've found: many of the mentioned solutions I found didn't
> actually work.
> 5.3? No idea.
> Portable? No, is marked as such, why is unclear. If this is binary endian
> you have the source, fix it. Lua version, not so simple.

To clarify the non-portability: you can't move between endianness
because the bytes of numbers and integers are written directly to the
buffer via a `memcpy` with no effort made to encode it portably.

People who think they know everything are a great annoyance to those
of us who do.