Go to the documentation of this file.
10 #include "wvencoder.h"
85 void hexify(
char *obuf,
const void *ibuf,
size_t len);
92 void unhexify(
void *obuf,
const char *ibuf);
WvHexEncoder(bool use_uppercase=false)
Creates a hex encoder.
void unhexify(void *obuf, const char *ibuf)
Reverse the operation performed by hexify().
WvHexDecoder()
Creates a hex decoder.
virtual bool _encode(WvBuf &in, WvBuf &out, bool flush)
Template method implementation of encode().
virtual bool _encode(WvBuf &in, WvBuf &out, bool flush)
Template method implementation of encode().
Specialization of WvBufBase for unsigned char type buffers intended for use with raw memory buffers.
void hexify(char *obuf, const void *ibuf, size_t len)
Write the contents of the binary string of length 'len' pointed to by 'ibuf' into the output buffer '...
virtual bool _reset()
Template method implementation of reset().
virtual bool _reset()
Template method implementation of reset().
bool flush(WvBuf &inbuf, WvBuf &outbuf, bool finish=false)
Flushes the encoder and optionally finishes it.