Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
net_instaweb::CountingWriter Class Reference

Delegates to another writer, but counts bytes along the way. More...

#include "counting_writer.h"

Inheritance diagram for net_instaweb::CountingWriter:
net_instaweb::Writer

Public Member Functions

 CountingWriter (Writer *writer)
 
virtual bool Write (const StringPiece &str, MessageHandler *handler)
 
virtual bool Flush (MessageHandler *handler)
 
int byte_count () const
 
- Public Member Functions inherited from net_instaweb::Writer
virtual bool Dump (Writer *writer, MessageHandler *message_handler)
 

Detailed Description

Delegates to another writer, but counts bytes along the way.


The documentation for this class was generated from the following file: