Page Speed Optimization Libraries
1.3.25.1
|
Delegates to another writer, but counts bytes along the way. More...
#include "counting_writer.h"
Public Member Functions | |
CountingWriter (Writer *writer) | |
virtual bool | Write (const StringPiece &str, MessageHandler *handler) |
virtual bool | Flush (MessageHandler *handler) |
int | byte_count () const |
Delegates to another writer, but counts bytes along the way.