Class MessageEncoder#
Defined in File Encoder.h
Class Documentation#
-
class MessageEncoder#
Public Functions
-
inline MessageEncoder(const void *_data = nullptr, std::size_t _length = 0)#
-
template<class T, byte_size element_t = std::byte>
inline bool encode(PcBufferWriter<T, element_t> &writer)#
-
inline bool stats(uint32_t *buffer_load, uint32_t *bytes_count, uint16_t *messages_count)#
Protected Types
Protected Functions
-
void advance_message(bool only_zero_pointer = false, std::size_t count = 1)#
-
template<class T, byte_size element_t = std::byte>
inline bool handle_zero_pointer(PcBufferWriter<T, element_t> &writer)#
-
template<class T, byte_size element_t = std::byte>
inline bool handle_encode_zero(PcBufferWriter<T, element_t> &writer)#
-
template<class T, byte_size element_t = std::byte>
inline bool handle_encode_data(PcBufferWriter<T, element_t> &writer)#
-
ZeroPointerState pointer_kind(void)#
-
inline MessageEncoder(const void *_data = nullptr, std::size_t _length = 0)#