HexCoder
#include <tpau-cpp-kernal/HexCoder.h>
INCLUDE FILE
#include <tpau-cpp-kernal/HexCoder.h>
class HexStreamDecoder
Decode Hex-encoded data and write the decoded data to a stream.
DEFINITION
class HexStreamDecoder;
constructor HexStreamDecoder
DEFINITION
| HexStreamDecoder | ( | std::ostream & stream, | |
| size_t line_length = 0, | |||
| size_t indent = 0 | ); |
| PARAMETER | DESCRIPTION |
|---|---|
stream |
|
line_length |
|
indent |
method end
Finish the decoding process.
DEFINITION
| void end | ( | ); |
class HexStreamEncoder
Encode data in Hex and write it to a stream.
DEFINITION
class HexStreamEncoder;
constructor HexStreamEncoder
DEFINITION
| HexStreamEncoder | ( | std::ostream & stream, | |
| size_t line_length = 0, | |||
| size_t indent = 0 | ); |
| PARAMETER | DESCRIPTION |
|---|---|
stream |
|
line_length |
|
indent |
method end
Finish the encoding process.
DEFINITION
| void end | ( | ); |
class HexStringDecoder
Decode Hex-encoded data and collect the decoded data in a string.
DEFINITION
class HexStringDecoder;
constructor HexStringDecoder
DEFINITION
| HexStringDecoder | ( | ); |
method end
Finish the decoding process and return the decoded data.
DEFINITION
| std::string end | ( | ); |
| RETURNS | DESCRIPTION |
|---|---|
std::string |
The decoded data. |
class HexStringEncoder
Encode data in Hex and collect the encoded data in a string.
DEFINITION
class HexStringEncoder;
constructor HexStringEncoder
DEFINITION
| HexStringEncoder | ( | ); |
method end
Finish the encoding process and return the encoded data.
DEFINITION
| std::string end | ( | ); |
| RETURNS | DESCRIPTION |
|---|---|
std::string |
The encoded data. |