#include <bin_parser.h>
Public Member Functions | |
BinParser (uint8_t *buffer, size_t buf_len) | |
BinParser (BinParser &parent, size_t sub_len) | |
bool | checkSize (size_t bytes) |
template<typename T > | |
bool | checkSize (void) |
void | consume () |
void | consume (size_t bytes) |
void | debug () |
template<typename T > | |
T | decode (T val) |
uint16_t | decode (uint16_t val) |
uint32_t | decode (uint32_t val) |
uint64_t | decode (uint64_t val) |
int16_t | decode (int16_t val) |
int32_t | decode (int32_t val) |
int64_t | decode (int64_t val) |
bool | empty () |
template<typename T > | |
void | parse (T &val) |
void | parse (double &val) |
void | parse (float &val) |
void | parse (bool &val) |
void | parse (double3_t &val) |
void | parse (cartesian_coord_t &val) |
void | parse (std::string &val, size_t len) |
void | parse (std::string &val) |
template<typename T , size_t N> | |
void | parse (std::array< T, N > &array) |
template<typename T , size_t N> | |
void | parse (std::bitset< N > &set) |
void | parse_remainder (std::string &val) |
template<typename T > | |
T | peek () |
~BinParser () | |
Private Attributes | |
uint8_t * | buf_end_ |
uint8_t * | buf_pos_ |
BinParser & | parent_ |
Definition at line 32 of file bin_parser.h.
|
inline |
Definition at line 39 of file bin_parser.h.
|
inline |
Definition at line 44 of file bin_parser.h.
|
inline |
Definition at line 50 of file bin_parser.h.
|
inline |
Definition at line 184 of file bin_parser.h.
|
inline |
Definition at line 189 of file bin_parser.h.
|
inline |
Definition at line 175 of file bin_parser.h.
|
inline |
Definition at line 179 of file bin_parser.h.
|
inline |
Definition at line 199 of file bin_parser.h.
|
inline |
Definition at line 57 of file bin_parser.h.
|
inline |
Definition at line 61 of file bin_parser.h.
|
inline |
Definition at line 65 of file bin_parser.h.
|
inline |
Definition at line 69 of file bin_parser.h.
|
inline |
Definition at line 73 of file bin_parser.h.
|
inline |
Definition at line 77 of file bin_parser.h.
|
inline |
Definition at line 81 of file bin_parser.h.
|
inline |
Definition at line 194 of file bin_parser.h.
|
inline |
Definition at line 96 of file bin_parser.h.
|
inline |
Definition at line 102 of file bin_parser.h.
|
inline |
Definition at line 108 of file bin_parser.h.
|
inline |
Definition at line 117 of file bin_parser.h.
|
inline |
Definition at line 125 of file bin_parser.h.
|
inline |
Definition at line 133 of file bin_parser.h.
|
inline |
Definition at line 144 of file bin_parser.h.
|
inline |
Definition at line 151 of file bin_parser.h.
|
inline |
Definition at line 159 of file bin_parser.h.
|
inline |
Definition at line 168 of file bin_parser.h.
|
inline |
Definition at line 139 of file bin_parser.h.
|
inline |
Definition at line 87 of file bin_parser.h.
|
private |
Definition at line 35 of file bin_parser.h.
|
private |
Definition at line 35 of file bin_parser.h.
|
private |
Definition at line 36 of file bin_parser.h.