|
| 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... > &&!is_first_array_preallocation_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... > &&!is_first_array_preallocation_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, ArrayPreallocation maxArrayPrealloc, 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, ArrayPreallocation maxArrayPrealloc, 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, ArrayPreallocation maxArrayPreallocation, const typename T::allocator_type &allocator, ARGS &&... arguments) |
| |
| 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, ArrayPreallocation maxArrayPreallocation, 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, ArrayPreallocation maxArrayAlloc, ARGS &&... arguments) |
| |
| template<typename T , typename ALLOC , typename... ARGS, std::enable_if_t<!is_first_allocator_v< ARGS... > &&!is_first_array_preallocation_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, ArrayPreallocation maxArrayPrealloc, ARGS &&... arguments) |
| |
| template<typename T , typename... ARGS, std::enable_if_t<!is_first_allocator_v< ARGS... > &&!is_first_array_preallocation_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, ArrayPreallocation maxArrayPrealloc, T &data, 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, ArrayPreallocation maxArrayPrealloc, 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.
- Note
- Please note that file operations allocate memory as needed and are not designed to use allocators.
Definition in file SerializeUtil.h.