|
jaffarCommon
|
#include <contiguous.hpp>


Public Member Functions | |
| Contiguous (const void *__restrict inputDataBuffer=nullptr, const size_t inputDataBufferSize=std::numeric_limits< uint32_t >::max()) | |
| __JAFFAR_COMMON__INLINE__ void | popContiguous (void *const __restrict outputDataBuffer, const size_t count) override |
| __JAFFAR_COMMON__INLINE__ void | pop (void *const __restrict outputDataBuffer, const size_t count) override |
Public Member Functions inherited from jaffarCommon::deserializer::Base | |
| Base (const void *__restrict inputDataBuffer, const size_t inputDataBufferSize) | |
| __JAFFAR_COMMON__INLINE__ size_t | getInputSize () const |
| __JAFFAR_COMMON__INLINE__ const uint8_t * | getInputDataBuffer () const |
Additional Inherited Members | |
Protected Attributes inherited from jaffarCommon::deserializer::Base | |
| const uint8_t *__restrict const | _inputDataBuffer |
| const size_t | _inputDataBufferSize |
| size_t | _inputDataBufferPos = 0 |
The contiguous deserialization class assumes that both the input buffer and output elements are contiguous and haven't been through any compression.
|
inline |
Default constructor for the contiguous deserializer class
| [in] | inputDataBuffer | The input buffer from whence to read the input data |
| [in] | inputDataBufferSize | The size of the input buffer |
|
inlineoverridevirtual |
Deserializes the specified number of bytes onto the output data buffer, popping the information from the input buffer
| [out] | outputDataBuffer | The contiguous output buffer onto which to deserialize. |
| [in] | outputDataBufferSize | The number of bytes to save onto the output buffer |
Implements jaffarCommon::deserializer::Base.
|
inlineoverridevirtual |
Deserializes the specified number of contiguous bytes onto the output data buffer, popping the information from the input buffer
| [out] | outputDataBuffer | The contiguous output buffer onto which to deserialize |
| [in] | outputDataBufferSize | The number of bytes to save onto the output buffer |
Implements jaffarCommon::deserializer::Base.