12#include "wvencoderstream.h"
46 WvXORStream(
WvStream *_cloned,
const void *key,
size_t _keysize);
47 virtual ~WvXORStream() { }
49 const char *wstype()
const {
return "WvXORStream"; }
WvEncoderStream(WvStream *cloned)
Creates an encoder stream.
WvEncoder()
Creates a new WvEncoder.
bool flush(WvBuf &inbuf, WvBuf &outbuf, bool finish=false)
Flushes the encoder and optionally finishes it.
WvStream()
Basic constructor for just a do-nothing WvStream.
bool _encode(WvBuf &in, WvBuf &out, bool flush)
Template method implementation of encode().
WvXOREncoder(const void *_key, size_t _keylen)
Creates a new XOR encoder / decoder.