CarobNS::ReadCache Class Reference

Holds a buffer for read operations. More...

#include <BufferedSocket.hpp>

List of all members.

Public Member Functions

 ReadCache ()
 Creates and empty cache.
int getDataSize ()
 Returns the size of valid data left to be read.
java_byte * getData ()
 Returns a pointer to the first byte of data available for reading.
void discard (int length)
 Tells that the given length of data has been read.
void setDataSize (int newSize)
 Set the new valid data size.
void reset ()
 Discards any data.


Detailed Description

Holds a buffer for read operations.


The documentation for this class was generated from the following file:
Generated on Fri Mar 9 17:40:20 2007 for Carob by  doxygen 1.4.7