tpl 1.0


Tpl is a binary data interchange format and C API. C programs can use tpl to store or load serialized images of structured C data
Developer:   Troy Hanson
      more software by author →
Price:  0.00
License:   BSD License
File size:   0K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Tpl is a binary data interchange format and C API.

C programs can use tpl to store or load serialized images of structured C data. The data is stored in its native binary format. The data can consist of the basic C types, binary buffers and strings, and aggregations and arrays. The serialized image is a discrete, strictly-formatted data buffer that can be stored in a file, memory buffer or transmitted via sockets or pipes. It is suited for IPC or data storage.

Example: Storing an array of integers to file.

#include "tpl.h"

int main() {
tpl_node *tn;
int i;

tn = tpl_map( "A(i)", &i );
for( i=0; i file.xml
% tplxml file.xml > file.tpl

Typed, structured data

Every tpl has a data type, expressed as a format string. A few examples: A(i) is an integer array. A(is) is an array of integer/string pairs. Deeper structure is the same-- an array of integers which each have an array of strings is A(iA(s)).

Binary data portability

Tpl addresses binary data portability by transparently applying endian-conversion when necessary. It also prescribes sizes for the supported types. This permits binary data to be shared effectively between machines that use different CPU types. A tpl generated on an 32-bit x86 can be read on a 64-bit Sparc Ultra for example. This is especially useful for socket IPC.

Full native binary efficiency

The data within a tpl is never converted unless necessary, so you get the full efficiency of using your data types in their native binary representation. This makes it feasible to deal with very large tpl images (up to 4GB) efficiently. It also uses memory-mapped I/O when reading and writing files to avoid the overhead of copying data through the kernel.
tags binary data  native binary  the data  data portability  file xml  

Download tpl 1.0


 http://prdownloads.sourceforge.net/tpl/libtpl-1.0.tar.bz2?use_mirror=superb-east
 http://prdownloads.sourceforge.net/tpl/libtpl-1.0.tar.bz2?use_mirror=nchc
 http://prdownloads.sourceforge.net/tpl/libtpl-1.0.tar.bz2?use_mirror=surfnet


Authors software

Similar software

tpl 1.0 (by Troy Hanson)
Tpl is a binary data interchange format and C API.

C programs can use tpl to store or load serialized images of structured C data

Convert::Binary::C 0.64 (by Marcus Holland-Moritz)
Convert::Binary::C is a Binary Data Conversion using C Types.

SYNOPSIS

Simple
use Convert::Binary::C;

#--------------

SRecord 1.26 (by Peter Miller)
SRecord is a collection of powerful tools for manipulating EPROM load files

Data::PropertyList 1998.1217 (by Evolution Online Systems, Inc.)
Data::PropertyList is a Perl module that can convert arbitrary objects to/from strings.

SYNOPSIS

use Data::PropertyList qw(as

Record Editor 0.55 (by Bruce Martin)
Record Editor is a programmer's data file editor for files where fields occupy fixed positions in a record

Beav 1.40 (by Peter Reilley)
Beav (Binary Editor And Viewer) is an editor for binary files containing arbitrary data

Arri 0.2a1 (by Adam Gleave)
Arri is an array API - more commonly known as a buffer API

libcfgparse 0.6 (by Philipp Kaeser)
libcfgparse is a set of routines (a library) that provides simple access to data stored in configuration files

HiM 0.9.3 (by Walery Studennikov)
HiM (Hierarchical Marshalling Library) is an attempt to implement a small and efficient library for working with hierarchical data st

Pascal Server Pages 1.5.0.2 (by Pascal Server Pages Team)
Free Pascal Web Unit allows you to write binary CGI programs in easy and comfortable way.

If you need binary server pages and you


Other software in this category

openMosix kernel-2.4.26 (by Moreno Baricevic)
openMosix is a Linux kernel extension for single-system image clustering

Mantaray 2.0 (by Amir Shevat)
MantaRay project is an innovative open-source data messaging project that was designed to address the continuously changing structure

Linux NFS Utilities 1.0.9 (by Linux NFS Developers)
Linux NFS Utilities are NFS utilities for Linux NFS clients and servers.

Here are some key features of "Linux NFS Utilities":
· N

v9fs 2.0.3 (by Ron Minnich)
v9fs provides a Plan 9 9P2000 resource sharing protocol for the Linux 2.6 kernel

Kerrighed 1.0.1 (by Kerrighed Research Team)
Kerrighed is a Single System Image operating system for clusters

    search


Featured Software

jEdit 4.3 pre8
jEdit is an Open Source text editor written in Java

Opera 9.02
Surf the Internet in a safer, faster, and easier way with Opera browser

GNU Aspell 0.60.4
GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


Subscribe in Rojo
Google Reader
Add to My Yahoo!

Add to My AOL
Subscribe with Bloglines
Subscribe in NewsGator Online
Add 'nixbit linux software' to Newsburst from CNET News.com
del.icio.us nixbit linux software


Top tags