36#ifndef IMT_BASE_CORE_SERIALIZATION_DESERIALIZER_H 
   37#define IMT_BASE_CORE_SERIALIZATION_DESERIALIZER_H 
   51namespace serialization {
 
  267    uint8_t const* 
const m_pBuffer;
 
Deserializes various data types from the given byte buffer.
 
Deserializer & operator>>(int8_t &data)
Returns data out of the Deserializer.
 
Deserializer & operator>>(SerializableIfc &data)
Returns data out of the Deserializer.
 
Deserializer & operator>>(uint32_t &data)
Returns data out of the Deserializer.
 
uint32_t getBufferPos() const
Returns the read position within the byte buffer.
 
Deserializer & operator>>(uint64_t &data)
Returns data out of the Deserializer.
 
uint32_t getBufferSize() const
Returns the size of the byte buffer in bytes.
 
Deserializer & popData(void *const pDataDest, uint32_t const bytes)
Returns multiple data out of Deserializer.
 
static void setAssertDebugFunction(AssertDebugFunctionPtr const funcPtr)
Set and replace the default assert-debug function.
 
Deserializer & operator>>(uint16_t &data)
Returns data out of the Deserializer.
 
Deserializer(uint8_t const buffer[], uint32_t const bufferSize) noexcept
Constructor.
 
Deserializer & operator>>(float32_t &data)
Returns data out of the Deserializer.
 
Deserializer & operator>>(float64_t &data)
Returns data out of the Deserializer.
 
Deserializer & operator>>(char_t *data)
Returns a null terminated string out of the Deserializer.
 
void reset()
Resets the Deserializer.
 
uint8_t const & getBufferByte(uint32_t const indexOfByte) const
Returns the byte of the byte buffer at the given index.
 
Deserializer & operator>>(int64_t &data)
Returns data out of the Deserializer.
 
Deserializer & operator>>(char_t &data)
Returns data out of the Deserializer.
 
Deserializer & operator>>(int32_t &data)
Returns data out of the Deserializer.
 
Deserializer & operator>>(uint8_t &data)
Returns data out of the Deserializer.
 
bool isReset() const
Returns true if the read position is at the beginning (getBufferPos == 0).
 
Deserializer & operator>>(int16_t &data)
Returns data out of the Deserializer.
 
uint8_t const * getBuffer() const
Returns a read-only pointer to the byte buffer.
 
uint32_t getUnusedBufferSize() const
Returns the remaining data to read from the current position until the buffer is empty.
 
void(*)(bool const condition, char_t const  *const pMessage) AssertDebugFunctionPtr
Alias for ASSERT_DEBUG function pointer type (as raw function pointer)
 
Deserializer & operator>>(bool &data)
Returns a boolean out of the Deserializer.
 
Serialization is the process of translating data structures into a binary representation.
 
This is a application specific file which is used to configure Imt.Base.Core.Math.
 
char char_t
The char_t typedef does not indicate size and signedness and is simply included to allow char objects...
 
float float32_t
32 Bits float variable (float)
 
double float64_t
64 Bits float variable (double)
 
unsigned __int16 uint16_t
 
unsigned __int32 uint32_t
 
unsigned __int64 uint64_t