#include <StreamFile.h>


Public Member Functions | |
| bool | Open (const String &path) |
| Attempts to open the stream pointing at a given location. | |
| virtual void | Close () |
| Closes the stream. | |
| virtual size_t | Length () const |
| Returns the size of this stream (in bytes). | |
| virtual size_t | Tell () const |
| Returns the position of the stream pointer (in bytes). | |
| virtual bool | Seek (long offset, int origin) const |
| Sets the stream position (in bytes). | |
| virtual size_t | Read (void *buffer, size_t bytes) const |
| Read from the stream. | |
| virtual size_t | Write (const void *buffer, size_t bytes) |
| Write to the stream at the current position. | |
| virtual size_t | Truncate (size_t bytes) |
| Truncate the stream to the specified length. | |
| virtual bool | IsReadReady () |
| Returns true if the stream is ready for reading, false otherwise. | |
| virtual bool | IsWriteReady () |
| Returns false. | |
| bool Rocket::Core::StreamFile::Open | ( | const String & | path | ) |
Attempts to open the stream pointing at a given location.
Attempts to open the stream pointing at a given URL.