68 { Initial, Escape, Hex1, Hex2, Octal1, Octal2, Octal3 };
83 bool flushtmpbuf(WvBuf &outbuf);
An encoder that performs C-style backslash unescaping of strings.
virtual bool _encode(WvBuf &inbuf, WvBuf &outbuf, bool flush)
Template method implementation of encode().
WvBackslashDecoder()
Creates a C-style backslash decoder.
virtual bool _reset()
Template method implementation of reset().
An encoder that performs C-style backslash escaping of strings.
WvBackslashEncoder(WvStringParm _nasties="\\\"")
Creates a C-style backslash encoder.
virtual bool _encode(WvBuf &inbuf, WvBuf &outbuf, bool flush)
Template method implementation of encode().
virtual bool _reset()
Template method implementation of reset().
bool flush(WvBuf &inbuf, WvBuf &outbuf, bool finish=false)
Flushes the encoder and optionally finishes it.
A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...
The in place raw memory buffer type.
WvString is an implementation of a simple and efficient printable-string class.