#include <backbuffer.h>
Inheritance diagram for zipios::BackBuffer

Public Methods | |
| BackBuffer ( istream &is, VirtualSeeker vs = VirtualSeeker(), int chunk_size = 1024 ) | |
| BackBuffer constructor. More... | |
| int | readChunk ( int &read_pointer ) |
| Reads another chunk and returns the size of the chunk that has been read. More... | |
BackBuffer is a vector< unsigned char > that fills itself with data from a file by reading chunks from the end of the file progressing towards the start. Upon construction the BackBuffer instance is associated with a file and a chunksize can be specified. To read a chunk of the file into the BackBuffer call readChunk().
Definition at line 32 of file backbuffer.h.
|
|
BackBuffer constructor.
Definition at line 61 of file backbuffer.h. |
|
|
Reads another chunk and returns the size of the chunk that has been read. Returns 0 on I/O failure.
Definition at line 75 of file backbuffer.h. |
1.2.0 written by Dimitri van Heesch,
© 1997-2000