7 #ifndef __WVBACKSLASH_H
8 #define __WVBACKSLASH_H
10 #include "wvencoder.h"
68 { Initial, Escape, Hex1, Hex2, Octal1, Octal2, Octal3 };
83 bool flushtmpbuf(
WvBuf &outbuf);
86 #endif // __WVBACKSLASH_H
virtual bool _reset()
Template method implementation of reset().
WvBackslashDecoder()
Creates a C-style backslash decoder.
An encoder that performs C-style backslash escaping of strings.
WvString is an implementation of a simple and efficient printable-string class.
The in place raw memory buffer type.
virtual bool _encode(WvBuf &inbuf, WvBuf &outbuf, bool flush)
Template method implementation of encode().
Specialization of WvBufBase for unsigned char type buffers intended for use with raw memory buffers.
An encoder that performs C-style backslash unescaping of strings.
virtual bool _encode(WvBuf &inbuf, WvBuf &outbuf, bool flush)
Template method implementation of encode().
bool flush(WvBuf &inbuf, WvBuf &outbuf, bool finish=false)
Flushes the encoder and optionally finishes it.
WvBackslashEncoder(WvStringParm _nasties="\\\"")
Creates a C-style backslash encoder.
virtual bool _reset()
Template method implementation of reset().