#include <ZStream_HexStrim.h>
Inheritance diagram for ZStreamW_HexStrim:
Public Member Functions | |
ZStreamW_HexStrim (const std::string &iByteSeparator, const std::string &iChunkSeparator, size_t iChunkSize, const ZStrimW &iStrimSink) | |
ZStreamW_HexStrim (const std::string &iByteSeparator, const std::string &iChunkSeparator, size_t iChunkSize, bool iUseUnderscore, const ZStrimW &iStrimSink) |
ZStreamW_HexStrim::ZStreamW_HexStrim | ( | const std::string & | iByteSeparator, | |
const std::string & | iChunkSeparator, | |||
size_t | iChunkSize, | |||
const ZStrimW & | iStrimSink | |||
) |
iByteSeparator | A UTF-8 string to be inserted between each byte that is output. | |
iChunkSeparator | A UTF-8 string to be inserted between each chunk that is output. | |
iChunkSize | The number of bytes to treat as a chunk. | |
iStrimSink | The strim to which characters should be written. |
ZStreamW_HexStrim::ZStreamW_HexStrim | ( | const std::string & | iByteSeparator, | |
const std::string & | iChunkSeparator, | |||
size_t | iChunkSize, | |||
bool | iUseUnderscore, | |||
const ZStrimW & | iStrimSink | |||
) |
iByteSeparator | A UTF-8 string to be inserted between each byte that is output. | |
iChunkSeparator | A UTF-8 string to be inserted between each chunk that is output. | |
iChunkSize | The number of bytes to treat as a chunk. | |
iUseUnderscore | If true then an underscore should be output in place of zero, if false then a zero is output. This is useful when what's being output is the hex representation of a 4 bit per pixel grayscale pixmap, in which case underscores are output for black pixels, and visually drop out somewhat. | |
iStrimSink | The strim to which characters should be written. |