Class PersistentResizableBufferSerializer

Inheritance Relationships

Base Type

Class Documentation

class PersistentResizableBufferSerializer : public gpa::serialization::BufferSerializer

Serializes/deserializes datas to/from a buffer.

This serializer behaves like a BufferSerializer, however it operates on reserved memory address space and lazily commit the memory pages when required

Public Types

enum [anonymous]

Values:

enumerator kDefaultInitialCapacity
enumerator kDefaultResizeStep
enumerator kDefaultMaxCapacity

Public Functions

PersistentResizableBufferSerializer(size_t const initialCapacity = kDefaultInitialCapacity, size_t const maxCapacity = kDefaultMaxCapacity, size_t const resizeStep = kDefaultResizeStep)
~PersistentResizableBufferSerializer()