tpl

Store and retrieve binary data in C source code

brewmacoslinux
Try with needOr install directly
Source

About

Store and retrieve binary data in C

Commands

tpl

Examples

Pack an integer into a binary buffer$ tpl -p 'i' -f file.tpl 42
Unpack binary data from a file$ tpl -u 'i' -f file.tpl
Pack multiple data types into binary format$ tpl -p 'isi' -f data.tpl 10 'hello' 20