Page Speed Optimization Libraries
1.13.35.1
|
#include "null_writer.h"
Public Member Functions | |
virtual bool | Write (const StringPiece &str, MessageHandler *handler) |
virtual bool | Flush (MessageHandler *handler) |
Public Member Functions inherited from net_instaweb::Writer | |
virtual bool | Dump (Writer *writer, MessageHandler *message_handler) |
A writer that silently eats the bytes. This can be used, for example, with writers is designed to cascade to another one, such as CountingWriter. If you just want to count the bytes and don't want to store them, you can pass a NullWriter to a CountingWriter's constructor.