encdec encodes and decodes a wide range of C objects.
This module may be used to encode and decode C objects such as integers, floats, doubles, times, and internationalized strings to and from a wide variety of binary formats as they might appear in portable file formats or network messages.
These encodings include 16, 34, and 64 bit big and little endian intergers, big and little endian IEEE754 float and double values, 6 time encodings, and the wide range of string encodings supported by libiconv.
The functions are all designed to be ideal for in-situ decoding and encoding of complex formats. The code is licensed under the GNU Library General Public License.