Zserio C++17 runtime library
0.5.0
Built for Zserio 2.17.0
|
#include <string_view>
#include <type_traits>
#include <utility>
#include "zserio/BitBuffer.h"
#include "zserio/BitSize.h"
#include "zserio/BitStreamReader.h"
#include "zserio/BitStreamWriter.h"
#include "zserio/DataView.h"
#include "zserio/FileUtil.h"
#include "zserio/Traits.h"
#include "zserio/View.h"
Go to the source code of this file.
Namespaces | |
zserio | |
Functions | |
template<typename T , typename ALLOC , typename... ARGS, std::enable_if_t< is_allocator_v< ALLOC >, int > = 0> | |
BasicBitBuffer< ALLOC > | zserio::serialize (const T &data, const ALLOC &allocator, ARGS &&... arguments) |
template<typename T , typename ALLOC , typename... ARGS, std::enable_if_t< is_allocator_v< ALLOC >, int > = 0> | |
Vector< uint8_t, ALLOC > | zserio::serializeToBytes (const T &data, const ALLOC &allocator, ARGS &&... arguments) |
template<typename T , typename... ARGS, typename std::enable_if_t<!is_first_allocator_v< ARGS... >, int > = 0> | |
BasicBitBuffer< typename T::allocator_type > | zserio::serialize (const T &data, ARGS &&... arguments) |
template<typename T , typename... ARGS, typename std::enable_if_t<!is_first_allocator_v< ARGS... >, int > = 0> | |
Vector< uint8_t, typename T::allocator_type > | zserio::serializeToBytes (const T &data, ARGS &&... arguments) |
template<typename T , typename ALLOC , typename... ARGS> | |
View< T > | zserio::deserialize (const BasicBitBuffer< ALLOC > &buffer, T &data, ARGS &&... arguments) |
template<typename T , typename... ARGS> | |
View< T > | zserio::deserializeFromBytes (Span< const uint8_t > buffer, T &data, ARGS &&... arguments) |
template<typename T , typename ALLOC > | |
BasicBitBuffer< ALLOC > | zserio::serialize (const View< T > &view, const ALLOC &allocator) |
template<typename T , typename ALLOC > | |
Vector< uint8_t, ALLOC > | zserio::serializeToBytes (const View< T > &view, const ALLOC &allocator) |
template<typename T > | |
BasicBitBuffer< typename T::allocator_type > | zserio::serialize (const View< T > &view) |
template<typename T > | |
Vector< uint8_t, typename T::allocator_type > | zserio::serializeToBytes (const View< T > &view) |
template<typename T , typename ALLOC > | |
BasicBitBuffer< ALLOC > | zserio::serialize (const DataView< T > &dataView, const ALLOC &allocator) |
template<typename T , typename ALLOC > | |
Vector< uint8_t, ALLOC > | zserio::serializeToBytes (const DataView< T > &dataView, const ALLOC &allocator) |
template<typename T > | |
BasicBitBuffer< typename T::allocator_type > | zserio::serialize (const DataView< T > &dataView) |
template<typename T > | |
Vector< uint8_t, typename T::allocator_type > | zserio::serializeToBytes (const DataView< T > &dataView) |
template<typename T , typename ALLOC , typename... ARGS> | |
DataView< T > | zserio::deserialize (const BasicBitBuffer< ALLOC > &buffer, const typename T::allocator_type &allocator, ARGS &&... arguments) |
template<typename T , typename... ARGS> | |
DataView< T > | zserio::deserializeFromBytes (Span< const uint8_t > buffer, const typename T::allocator_type &allocator, ARGS &&... arguments) |
template<typename T , typename ALLOC , typename... ARGS, std::enable_if_t<!is_first_allocator_v< ARGS... >, int > = 0> | |
DataView< T > | zserio::deserialize (const BasicBitBuffer< ALLOC > &buffer, ARGS &&... arguments) |
template<typename T , typename... ARGS, std::enable_if_t<!is_first_allocator_v< ARGS... >, int > = 0> | |
DataView< T > | zserio::deserializeFromBytes (Span< const uint8_t > buffer, ARGS &&... arguments) |
template<typename T > | |
void | zserio::serializeToFile (const View< T > &view, std::string_view fileName) |
template<typename T > | |
void | zserio::serializeToFile (const DataView< T > &dataView, std::string_view fileName) |
template<typename T , typename... ARGS> | |
void | zserio::serializeToFile (const T &data, std::string_view fileName, ARGS &&... arguments) |
template<typename T , typename... ARGS> | |
View< T > | zserio::deserializeFromFile (std::string_view fileName, T &data, ARGS &&... arguments) |
template<typename T , typename... ARGS> | |
DataView< T > | zserio::deserializeFromFile (std::string_view fileName, ARGS &&... arguments) |
It provides methods for serialization and deserialization of Zserio generated objects.
Definition in file SerializeUtil.h.