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 A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...
bool flush(WvBuf &inbuf, WvBuf &outbuf, bool finish=false)
Flushes the encoder and optionally finishes it.
An encoder that performs C-style backslash escaping of strings.
The in place raw memory buffer type.
virtual bool _reset()
Template method implementation of reset().
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().
WvBackslashEncoder(WvStringParm _nasties="\")
Creates a C-style backslash encoder.
WvString is an implementation of a simple and efficient printable-string class.