Length stream. More...
#include <serialization.h>
Public Member Functions | |
ROS_FORCE_INLINE uint32_t | advance (uint32_t len) |
increment the length by len More... | |
uint32_t | getLength () |
Get the total length of this tream. More... | |
LStream () | |
template<typename T > | |
ROS_FORCE_INLINE void | next (const T &t) |
Add the length of an item to this length stream. More... | |
Static Public Attributes | |
static const StreamType | stream_type = stream_types::Length |
Private Attributes | |
uint32_t | count_ |
Length stream.
LStream is not what you would normally think of as a stream, but it is used in order to support allinone serializers.
Definition at line 764 of file serialization.h.
|
inline |
Definition at line 768 of file serialization.h.
|
inline |
increment the length by len
Definition at line 784 of file serialization.h.
|
inline |
Get the total length of this tream.
Definition at line 794 of file serialization.h.
|
inline |
Add the length of an item to this length stream.
Definition at line 776 of file serialization.h.
|
private |
Definition at line 797 of file serialization.h.
|
static |
Definition at line 766 of file serialization.h.