definition of the serialization namespace More...
Functions | |
template<typename DECODER, typename ENCODER> | |
a_util::result::Result | transform (const DECODER &decoder, ENCODER &encoder) |
Copies all elements from a decoder to a codec. | |
a_util::result::Result | transformToBuffer (const Decoder &decoder, a_util::memory::MemoryBuffer &buffer, bool zero=false) |
Tranforms the data from a given decoder into the opposite data representation. | |
tResult | transform_to_buffer (const cDecoder &oDecoder, A_UTILS_NS::cMemoryBlock &oBuffer, bool bZero=false) |
Tranforms the data from a given decoder into the opposite data representation. | |
definition of the serialization namespace
a_util::result::Result transform | ( | const DECODER & | decoder, |
ENCODER & | encoder ) |
Copies all elements from a decoder to a codec.
[in] | decoder | The source decoder. |
[out] | encoder | The destination codec. |
Definition at line 32 of file serialization_legacy.h.
tResult transform_to_buffer | ( | const cDecoder & | oDecoder, |
A_UTILS_NS::cMemoryBlock & | oBuffer, | ||
bool | bZero = false ) |
Tranforms the data from a given decoder into the opposite data representation.
Allocates the buffer accordingly.
[in] | oDecoder | The source decoder. |
[out] | oBuffer | The destination buffer object. |
[in] | bZero | Whether or not to memzero the buffer before writing the elements to it. |
a_util::result::Result transformToBuffer | ( | const Decoder & | decoder, |
a_util::memory::MemoryBuffer & | buffer, | ||
bool | zero = false ) |
Tranforms the data from a given decoder into the opposite data representation.
Allocates the buffer accordingly.
[in] | decoder | The source decoder. |
[out] | buffer | The destination buffer object. |
[in] | zero | Whether or not to memzero the buffer before writing the elements to it. |