|
libcommonc++
0.7
|
A manipulator that specifies the length of String, Blob, and array values to be subsequently encoded/decoded. More...
#include <DataEncoder.h++>


Public Member Functions | |
| SetLength (size_t length) | |
| Construct a new SetLength manipulator. More... | |
| ~SetLength () | |
| Destructor. More... | |
Protected Member Functions | |
| void | apply (DataEncoder &encoder) const |
| Apply the DataManipulator to a DataEncoder. More... | |
A manipulator that specifies the length of String, Blob, and array values to be subsequently encoded/decoded.
| SetLength | ( | size_t | length | ) |
Construct a new SetLength manipulator.
| length | The string length. |
| ~SetLength | ( | ) |
Destructor.
|
protectedvirtual |
Apply the DataManipulator to a DataEncoder.
| encoder | The target DataEncoder. |
| IOException | If an I/O error occurs. |
Implements DataEncoder::Manipulator.