Main > System > Networks >

tpl 1.2

tpl 1.2

Sponsored Links

tpl 1.2 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.29 MB
Platform: Any Platform
License: BSD License
Price:
Downloads: 917
Date added: 2007-04-28
Publisher: Troy Hanson

tpl 1.2 description

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<10; i++ ) {
tpl_pack( tn, 1 );
}
tpl_dump( tn, TPL_FILE, "demo.tpl" );
tpl_free( tn );
}
XML
Its the polar opposite of XML, in that its pure binary. However, it has some commonalities: the data can be deeply structured, it has a strict notion of validity, and its type is explicitly stated (using a format string instead of a DTD). Tpl can even be converted back and forth to XML using an included utility, with no loss of information.
% tplxml file.tpl > 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.
Enhancements:
- Bug fix for 64-bit integer/unsigned types.
- Also include support for these types from Perl API and XML.

tpl 1.2 Screenshot

Advertisements

tpl 1.2 Keywords

Bookmark tpl 1.2

Hyperlink code:
Link for forum:

tpl 1.2 Copyright

WareSeeker periodically updates pricing and software information of tpl 1.2 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of tpl 1.2 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Nightfall is a eclipsing binary star program. Free Download
OpenDMTP is a highly configurable and extensible protocol for communicating with mobile devices. Free Download
toast is a simple source-and-symlinks package manager for both root and non-root users. Free Download
Etterlog is the log analyzer for logfiles created by ettercap. Free Download
libb64 is a library of ANSI C routines for fast encoding and decoding of data into and from the base64-encoded format. Free Download
seppl is both a protocol definition and a software implementation of a new encryption layer for IPv4. Free Download
SimpleCDB - A Perl-only Constant Database. Free Download
Bosco is a bug tracking system. Free Download