Stream base-class, provides common functionality for IStream and OStream.
More...
#include <serialization.h>
|
| Stream (uint8_t *_data, uint32_t _count) |
|
Stream base-class, provides common functionality for IStream and OStream.
Definition at line 670 of file serialization.h.
◆ Stream()
ros::serialization::Stream::Stream |
( |
uint8_t * |
_data, |
|
|
uint32_t |
_count |
|
) |
| |
|
inlineprotected |
◆ advance()
Advances the stream, checking bounds, and returns a pointer to the position before it was advanced.
- Exceptions
-
Definition at line 681 of file serialization.h.
◆ getData()
uint8_t* ros::serialization::Stream::getData |
( |
| ) |
|
|
inline |
◆ getLength()
uint32_t ros::serialization::Stream::getLength |
( |
| ) |
|
|
inline |
Returns the amount of space left in the stream.
Definition at line 697 of file serialization.h.
◆ data_
uint8_t* ros::serialization::Stream::data_ |
|
private |
◆ end_
uint8_t* ros::serialization::Stream::end_ |
|
private |
The documentation for this struct was generated from the following file: