• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux tpl Download

tpl

April 26, 2009
A C Application Programming Interface (API) and binary data exchange format.
Version 1.4
License BSD License
Platform Linux
Supported Languages English
Homepage tpl.sourceforge.net
Developed by Troy Hanson
Tpl is a binary data interchange format and C API that enables C programs to store or load serialized images of structured C data. This data is stored in its native binary format and can consist of basic C types, binary buffers and strings, as well as 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, making it ideal for IPC or data storage.

To illustrate this, consider the example of storing an array of integers to file using Tpl. First, include Tpl in your C program by adding "#include tpl.h". Next, initialize the tpl_node and integer variable by using "tpl_map( "A(i)", &i )". Finally, use a loop to iterate over the array and add each element to the tpl_node. This will create a serialized image that can be written to file with "# tpl_dump( tn, TPL_FILE, "file.tpl" )".

One of the benefits of Tpl is that it deals with typed, structured data in a way that is transparent and easy to use. Each tpl has a data type, expressed as a format string. For example, "A(i)" is an integer array, while "A(is)" is an array of integer/string pairs. Deeper structures can also be defined using the same format. For instance, an array of integers with an array of strings is expressed as A(iA(s)).

Another benefit of Tpl is that it ensures binary data portability by transparently applying endian-conversion when necessary. It also prescribes sizes for the supported types, allowing binary data to be shared effectively between machines that use different CPU types. For instance, a tpl generated on a 32-bit x86 can be read on a 64-bit Sparc Ultra. This is especially useful for socket IPC.

Finally, Tpl offers full native binary efficiency. The data within a tpl is never converted unless necessary, preserving the full efficiency of using your data types in their native binary representation. This allows for the efficient handling of large tpl images (up to 4GB) and uses memory-mapped I/O when reading and writing files to avoid the overhead of copying data through the kernel.
What's New

Version 1.4: N/A

Free Download 652K
617
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    154
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    89
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    80
  6. porm r2
    73
  7. Clewarecontrol 0.8
    72
  8. Java Games 1.0
    72
  9. Swiftfox 3.0b5pre-2
    71
  10. fuseftp 0.8
    71

Related Downloads

Java Fortune Teller
Java Fortune Teller is a software application that emulates the fortune-telling game ...
BitNami Trac Stack
BitNami Trac Stack simplifies the installation of Trac bug tracking software. It ...
Duplex
This software offers script-based emulation for duplex printing on printers lacking hardware ...
DateTime::Event::Recurrence
This software extension adds the ability to create basic recurring sets using ...
OpenPKG Enterprise
OpenPKG is a versatile and robust software packaging solution that offers flexibility ...
Incognito Live CD/USB
Incognito Live CD/USB CD enables anonymous browsing and use of various Internet ...
Fedora 8 Re-Spin
Fedora 8 Re-Spin is a software package that is derived from Fedora ...
ipmiutil
Improved IPMI Tools and Panic Handler capabilities for enhanced system management and ...
gmmusic
Gmmusic is a free music collection management system for GNOME desktops that ...
yamiMFTX Server
yamiMFTX Server is a self-hosted file transfer and sharing software that enables ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.