ADTF
3.18.2
|
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. More... | |
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. More... | |
definition of the serialization namespace
a_util::result::Result ddl::serialization::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.
a_util::result::Result ddl::serialization::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. |