lua-users home
lua-l archive

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


On Tue, Jan 19, 2010 at 8:25 AM, Majic <majic.one@gmail.com> wrote:
> Yes, I guess I must concede that a true pack()/unpack() for binary
> streams would not be a necessity as you can just require() the module
> whenever you want, it would just be nice to have it in the core
> alongside bitlib for that greater flexibility...

But we already have lhf's lpack and Roberto's lstruct. (The lstruct in
Alien is a little older but extended to handle userdata as well.)

May be nice to have such a 'builtin' facility, but it does seem like a
job for an extension.  Otherwise, how do we know when to stop?