|
sprint 1-alpha
|
#include <xadapter.h>
Inherits sprint::io::xstream.
Public Member Functions | |
| xadapter (const _Io &io) | |
| xadapter (const char *filename, flag_t flag) | |
| virtual int | write (const char *buf, unsigned int size) |
| Write some data on the stream (if avail) | |
| virtual int | read (char *buf, unsigned int size) |
| Read data from stream (if avail) | |
| virtual file_size_t | seek (file_size_t offset, seek_t type) |
| Seek position (if available) | |
| virtual file_size_t | length () |
| Stream Lenght (or -1 if is undefined size) | |
| virtual state_t | state () |
| File state. | |
an adapter between policy Io with xstream virtual io
1.7.4