#include <BufferedSocket.hpp>
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. | |
1.4.7