|
BCNP 3.2.1
Batched Command Network Protocol
|
Type traits to detect container capabilities for packet storage. More...
Functions | |
| uint16_t | LoadU16 (const uint8_t *p) |
| uint32_t | LoadU32 (const uint8_t *p) |
| int16_t | LoadS16 (const uint8_t *p) |
| int32_t | LoadS32 (const uint8_t *p) |
| void | StoreU16 (uint16_t v, uint8_t *p) |
| void | StoreU32 (uint32_t v, uint8_t *p) |
| void | StoreS16 (int16_t v, uint8_t *p) |
| void | StoreS32 (int32_t v, uint8_t *p) |
| int32_t | QuantizeFloat (float value, float scale) |
| float | DequantizeFloat (int32_t fixed, float scale) |
Type traits to detect container capabilities for packet storage.
A valid packet storage must support all of the following. push_back(const T&) or push_back(T&&) size() -> size_type empty() -> bool clear() begin() / end() iterators operator[](size_type) -> T& reserve(size_type) (can be no-op for fixed storage)
|
inline |
Definition at line 96 of file message_types.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 88 of file message_types.h.
|
inline |
|
inline |
|
inline |
|
inline |