eProsima Dynamic Fast Buffers
 All Classes Functions Variables Typedefs Enumerations Enumerator Groups Pages
eProsima Dynamic Fast Buffers Library



eProsima Dynamic Fast Buffers is a high-performance library that allows users to dynamically describe and serialize or deserialize data at run-time. Its functionality is based on the creation of a typecode which defines the data, and the generation afterwards of a bytecode to do the data serialization. There is no need for users to know anything about the internal structure of the typecode or the bytecode, neither of the serialization procedure.

This library uses eProsima Fast CDR, which is a library designed to serialize and deserialize data in CDR (Common Data Representation) format.

eProsima DFB also brings this features:

  • Data description through a typecode: A typecode is a way to describe how is the data that a user wants to use in his application. Through this typecode, eProsima DFB knows how is the user's native data and how to move through it. It also avoids the developer from describing data in a static way using an IDL file
  • Bytecode generation: This is just a way for DFB of knowing how to serialize the native data defined by the user. There are two kinds of bytecode entities that can be generated: one for data serialization, and another for data deserialization.
  • Data serialization/deserialization: eProsima DBF features a way to serialize or deserialize data using a FastCDR object provided by eProsima Fast CDR library. The serialized data will be stored inside a buffer defined by the user while the deserialized data will be restored in the user's native data type previously defined.
  • Support for different packaging strategies for structures: eProsima Dynamic Fast Buffers supports different packaging strategies which can be selected by the user at compile time.
  • Multi-platform: eProsima Dynamic Fast Buffers has been designed and tested for different platforms. It supports Windows and Linux (Fedora and CentOS distributions) Operating Systems, in both 32-bit and 64-bit architectures.