specifies a number of bits to be used to pad (add to) the current bit offset
More...
#include <serdes_format_modifiers.h>
|
| constexpr | pad (const ST &bits) noexcept |
| | Construct a new pad object, binding to a reference of the number of bits to pad by. More...
|
| |
| constexpr | pad (ST &&bits) noexcept |
| | Construct a new pad object, binding to a rvalue of the number of bits to pad by. More...
|
| |
|
|
const ST & | value |
| | bit pad reference value
|
| |
template<typename ST>
struct serdes::pad< ST >
specifies a number of bits to be used to pad (add to) the current bit offset
- Template Parameters
-
- Examples
- 03_serial_usage.cpp, and 05_nested_object_oriented_serial.cpp.
◆ pad() [1/2]
Construct a new pad object, binding to a reference of the number of bits to pad by.
- Parameters
-
◆ pad() [2/2]
Construct a new pad object, binding to a rvalue of the number of bits to pad by.
- Parameters
-
The documentation for this struct was generated from the following file: