Tpl makes it easy to serialize your C data using just a handful of API functions. The data is stored in its native binary form for maximum efficiency. C, Perl and XML supported. Data is portable across CPU types and OS's from Unix to Mac to Windows.
Be the first to post a text review of tpl. Rate and review a project by clicking thumbs up or thumbs down in the right column.
This release has several small enhancements to fixed-length array support, as well as support for nested structures and for caller-supplied buffers for dump and load.
Version 1.4 (2009-04-21) -------------------------- * fixed-length arrays can now be multi-dimensional like `i##` * fixed-length string arrays like `s#` are now supported * nested structures can now be expressed, using the dollar symbol, e.g. `S(ci$(cc))` * `tpl_dump` can use a caller-allocated output buffer (`TPL_MEM|TPL_PREALLOCD`) * `tpl_load` can tolerate excess space in input buffer (`TPL_MEM|TPL_EXCESS_OK`) * implement `TPL_FXLENS` flag for `tpl_peek` to get lengths of fixed-length arrays * implement `TPL_GETSIZE` flag for `tpl_dump` to get dump size without dumping * fix success return code from `tpl_dump(TPL_FD,...)` (thanks, Max Lapan!) * deprecated the wildcard unpacking `S(*)` feature
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?
Thanks for your review!
Get credit for your review by logging in via OpenID. Click your account provider: