template<typename BufferT>
checkpoint::PackerBuffer struct

Base classes

struct MemorySerializer

Public types

using BufferTPtrType = std::unique_ptr<BufferT>
using PackerReturnType = std::tuple<BufferTPtrType, SerialSizeType>

Constructors, destructors, conversion operators

PackerBuffer(SerialSizeType const& in_size) explicit
PackerBuffer(SerialSizeType const& in_size, BufferTPtrType buf_ptr)
template<typename... Args>
PackerBuffer(SerialSizeType const& in_size, Args && ... args) explicit

Public functions

void contiguousBytes(void* ptr, SerialSizeType size, SerialSizeType num_elms)
auto extractPackedBuffer() -> BufferTPtrType
auto usedBufferSize() const -> SerialSizeType