VCF::BasicInputStream Class Reference
#include <vcf/FoundationKit/BasicOutputStream.h>
Inheritance diagram for VCF::BasicInputStream:

Public Member Functions | |
| BasicInputStream () | |
| BasicInputStream (const String &textBuffer) | |
| BasicInputStream (const char *dataBuffer, const uint32 &dataBufferSize) | |
| BasicInputStream (InputStream *inStream) | |
| This constructor is used in stream chaining. | |
| virtual | ~BasicInputStream () |
| virtual void | seek (const uint64 &offset, const SeekType &offsetFrom) |
| virtual uint64 | getSize () |
| returns the size of the stream. | |
| virtual char * | getBuffer () |
| returns a pointer to the buffer that holds the stream memory | |
| virtual uint64 | getCurrentSeekPos () |
| this is a global offset from the beggining of the stream | |
| virtual uint64 | read (unsigned char *bytesToRead, uint64 sizeOfBytes) |
| virtual bool | isEOS () |
| void | init () |
Constructor & Destructor Documentation
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
This constructor is used in stream chaining. The flow goes from the BasicInputStream to the inStream. So if a read is called on the BasicInputStream, it simply passes it to the inStream's read() method |
|
|
|
Member Function Documentation
|
|
returns a pointer to the buffer that holds the stream memory
Implements VCF::Stream. |
|
|
this is a global offset from the beggining of the stream
Implements VCF::Stream. |
|
|
returns the size of the stream. The size represents the number of bytes that have been written, or read to/from the stream Implements VCF::Stream. |
|
|
|
|
|
Implements VCF::InputStream. |
|
||||||||||||
|
Implements VCF::InputStream. |
|
||||||||||||
|
Implements VCF::Stream. |
The documentation for this class was generated from the following file:
- vcf/FoundationKit/BasicInputStream.h
