libtpl

Easily store and retrieve binary data in C
Download

libtpl Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • Troy Hanson
  • Publisher web site:
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 675 KB

libtpl Tags


libtpl Description

Easily store and retrieve binary data in C libtpl is a free and open source library that will help you store and reload your C data quickly and easily. libtpl works with files, memory buffers and file descriptors so it's suitable for use as a file format, IPC message format or any scenario where you need to store and retrieve your data. NOTE: libtpl is licensed and distributed under the terms of the BSD License. What's New in This Release: · 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


libtpl Related Software