A utility class to read byte vectors in big-endian order.
More...
#include <byte_reader.hpp>
|
| | ByteReader (const std::vector< uint8_t > &byte_vector) |
| | Default constructor, byte reader class. More...
|
| |
| template<typename T > |
| void | read (T &value) |
| |
| void | skip (std::size_t count) |
| |
A utility class to read byte vectors in big-endian order.
◆ ByteReader()
| autoware::common::helper_functions::ByteReader::ByteReader |
( |
const std::vector< uint8_t > & |
byte_vector | ) |
|
|
inlineexplicit |
Default constructor, byte reader class.
- Parameters
-
| [in] | byte_vector | A vector to read bytes from |
◆ read()
template<typename T >
| void autoware::common::helper_functions::ByteReader::read |
( |
T & |
value | ) |
|
|
inline |
- Parameters
-
| [in,out] | value | Read and store the bytes from the vector matching the size of the argument |
◆ skip()
| void autoware::common::helper_functions::ByteReader::skip |
( |
std::size_t |
count | ) |
|
|
inline |
The documentation for this class was generated from the following file: