|
libxr
1.0
Want to be the best embedded framework
|
运行期参数字节块的顺序读取器 / Sequential reader for the packed runtime argument byte blob More...
#include <writer_reader.hpp>
Public Member Functions | |
| ArgumentReader (const uint8_t *data) | |
| 从单个运行期参数打包字节块构造读取器 / Create a reader over one packed runtime argument blob | |
| template<typename T > | |
| T | Read () |
| 以无对齐要求的方式读取一个已打包参数值 / Read one packed argument value without requiring alignment | |
Private Attributes | |
| const uint8_t * | pos_ = nullptr |
运行期参数字节块的顺序读取器 / Sequential reader for the packed runtime argument byte blob
Definition at line 99 of file writer_reader.hpp.
|
inlineexplicit |
从单个运行期参数打包字节块构造读取器 / Create a reader over one packed runtime argument blob
| data | 指向运行期参数打包字节块的指针 / Pointer to the packed runtime argument blob |
Definition at line 106 of file writer_reader.hpp.
|
inlinenodiscard |
以无对齐要求的方式读取一个已打包参数值 / Read one packed argument value without requiring alignment
| T | 待读取的已打包参数类型 / Packed argument type to read |
Definition at line 114 of file writer_reader.hpp.
|
private |
Definition at line 123 of file writer_reader.hpp.