#include <marshal.h>
Inheritance diagram for StreamStorage:
Public Member Functions | |
StreamStorage () | |
~StreamStorage () | |
StreamStorage (char *data, uint len) | |
int | read (char *buf, uint size) |
int | write (const char *buf, uint size) |
void | rewind () |
char * | data () const |
int | size () |
Definition at line 37 of file marshal.h.
StreamStorage::StreamStorage | ( | char * | data, | |
uint | len | |||
) | [inline] |
int StreamStorage::read | ( | char * | buf, | |
uint | size | |||
) | [inline, virtual] |
Read size bytes from the store into buf.
Implements StorageIntf.
int StreamStorage::write | ( | const char * | buf, | |
uint | size | |||
) | [inline, virtual] |
Write size bytes from buf into the store.
Implements StorageIntf.