Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BufferedSerial motor_sn7544
Stream Struct Reference
Stream base-class, provides common functionality for IStream and OStream. More...
#include <serialization.h>
Inherited by IStream, and OStream.
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. | |
uint32_t | getLength () |
Returns the amount of space left in the stream. |
Detailed Description
Stream base-class, provides common functionality for IStream and OStream.
Definition at line 662 of file serialization.h.
Member Function Documentation
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.
- Exceptions:
-
StreamOverrunException if len would take this stream past the end of its buffer
Definition at line 673 of file serialization.h.
uint32_t getLength | ( | ) |
Returns the amount of space left in the stream.
Definition at line 689 of file serialization.h.
Generated on Wed Jul 13 2022 07:13:54 by
