next up previous contents index
Next: 4.8.1 read: Read from Up: 4 The Component Object Previous: 4.7.3 release: Release a

4.8 oskit_stream: standard interface for byte stream objects

 

The oskit_stream COM interface supports reading and writing to stream objects, and corresponds to the Microsoft COM IStream interface.

The oskit_stream COM interface inherits from oskit_iunknown, and has the following additional methods:

read
Read from this object, starting at the current seek pointer.
write
Write to this object, starting at the current seek pointer.
seek
Change the seek pointer of this object.
setsize
Change the size of this object.
copyto
Copy from this object to another stream object.
commit
Commit all changes to this object.
revert
Revert to last committed version of this object.
lockregion
Lock a region of this object.
unlockregion
Unlock a region of this object.
stat
Get attributes of this object.
clone
Create a new stream object for the same underlying object.





University of Utah Flux Research Group