Stream base-class, provides common functionality for IStream and OStream. More...
#include <serialization.h>
Public Member Functions | |
ROS_FORCE_INLINE uint8_t * | advance (uint32_t len) |
Advances the stream, checking bounds, and returns a pointer to the position before it was advanced. More... | |
uint8_t * | getData () |
uint32_t | getLength () |
Returns the amount of space left in the stream. More... | |
Protected Member Functions | |
Stream (uint8_t *_data, uint32_t _count) | |
Private Attributes | |
uint8_t * | data_ |
uint8_t * | end_ |
Stream base-class, provides common functionality for IStream and OStream.
Definition at line 701 of file third-party/realsense-file/rosbag/roscpp_serialization/include/ros/serialization.h.
Definition at line 731 of file third-party/realsense-file/rosbag/roscpp_serialization/include/ros/serialization.h.
|
inline |
Advances the stream, checking bounds, and returns a pointer to the position before it was advanced.
StreamOverrunException | if len would take this stream past the end of its buffer |
Definition at line 712 of file third-party/realsense-file/rosbag/roscpp_serialization/include/ros/serialization.h.
|
inline |
Definition at line 706 of file third-party/realsense-file/rosbag/roscpp_serialization/include/ros/serialization.h.
|
inline |
Returns the amount of space left in the stream.
Definition at line 728 of file third-party/realsense-file/rosbag/roscpp_serialization/include/ros/serialization.h.
|
private |
Definition at line 737 of file third-party/realsense-file/rosbag/roscpp_serialization/include/ros/serialization.h.
|
private |
Definition at line 738 of file third-party/realsense-file/rosbag/roscpp_serialization/include/ros/serialization.h.