|
FireSync API
|
Represents a stream used to write/read files to/from a remote sensor.
This class uses a kMemory object to adapt the kStream interface to the kStorage API.
Read/write operations are performed on the kMemory object; flusing the stream or destroying the kStorageStream object will cause a write to storage.

Public Member Functions | |
| kStatus | kStorageStream_Construct (kStorageStream *stream, kObject module, k32u deviceId, const kChar *fileName, kBool read, kAlloc allocator) |
| Constructs a kStorageStream object. More... | |
| k64u | kStorageStream_Length (kStorageStream stream) |
| Returns the current length of the stream. More... | |
| k64u | kStorageStream_Position (kStorageStream stream) |
| Returns the current position of the read/write pointer, relative to the beginning of the stream. More... | |