Gaia-ECS v0.9.3
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::ser::ser_buffer_binary_dyn Class Reference
+ Inheritance diagram for gaia::ser::ser_buffer_binary_dyn:

Additional Inherited Members

- Public Member Functions inherited from gaia::ser::detail::ser_buffer_binary_impl< ser_buffer_binary_storage_dyn >
void reset ()
 
GAIA_NODISCARD uint32_t bytes () const
 Returns the number of bytes written in the buffer.
 
GAIA_NODISCARD bool empty () const
 Returns true if there is no data written in the buffer.
 
GAIA_NODISCARD const auto * data () const
 Returns the pointer to the data in the buffer.
 
void reserve (uint32_t size)
 Makes sure there is enough capacity in our data container to hold another size bytes of data.
 
void resize (uint32_t size)
 Resizes the internal buffer to size bytes.
 
void seek (uint32_t pos)
 Changes the current position in the buffer.
 
void skip (uint32_t size)
 Advances size bytes from the current buffer position.
 
GAIA_NODISCARD uint32_t tell () const
 Returns the current position in the buffer.
 
void save (T &&value)
 Writes value to the buffer.
 
void save_raw (const void *pSrc, uint32_t size, ser::serialization_type_id id)
 Writes size bytes of data starting at the address pSrc to the buffer.
 
void load (T &value)
 Loads value from the buffer.
 
void load_raw (void *pDst, uint32_t size, ser::serialization_type_id id)
 Loads size bytes of data from the buffer and writes it to the address pDst.
 
- Protected Attributes inherited from gaia::ser::detail::ser_buffer_binary_impl< ser_buffer_binary_storage_dyn >
ser_buffer_binary_storage_dyn m_data
 Buffer holding raw data.
 
uint32_t m_dataPos
 Current position in the buffer.
 
- Static Protected Attributes inherited from gaia::ser::detail::ser_buffer_binary_impl< ser_buffer_binary_storage_dyn >
static constexpr uint32_t CapacityIncreaseSize
 

The documentation for this class was generated from the following file: