[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Newbie udp socket question
- From: duck <duck@...>
- Date: Wed, 16 May 2007 11:53:33 +0000
>I know I have to do a unpack like feature available in PERL or
>struct feature in Python, I dont know what is the equivalent in Lua. Can
>somebody point give me a cluestick?
"This library offers basic facilities to convert
Lua values to and from C structs. Its main functions
are struct.pack, which packs multiple Lua values into
a struct-like string; and struct.unpack, which
unpacks multiple Lua values from a given struct-like
which is the one I like, or else:
"A library for packing and unpacking binary data."
Note who wrote each of the packages :-)