#include <ibstream.h>
Inheritance diagram for Steinberg::IBStream:

Public Types | |
| kIBSeekSet = 0 | |
| set absolute seek position | |
| kIBSeekCur | |
| set seek position relative to current position | |
| kIBSeekEnd | |
| set seek position relative to stream end | |
| enum | IStreamSeekMode { kIBSeekSet = 0, kIBSeekCur, kIBSeekEnd } |
Public Member Functions | |
| virtual tresult PLUGIN_API | read (void *buffer, int32 numBytes, int32 *numBytesRead=0)=0 |
| virtual tresult PLUGIN_API | write (void *buffer, int32 numBytes, int32 *numBytesWritten=0)=0 |
| virtual tresult PLUGIN_API | seek (int64 pos, int32 mode, int64 *result=0)=0 |
| virtual tresult PLUGIN_API | tell (int64 *pos)=0 |
Static Public Attributes | |
| static const FUID | iid |
Definition at line 50 of file ibstream.h.
| kIBSeekSet | set absolute seek position |
| kIBSeekCur | set seek position relative to current position |
| kIBSeekEnd | set seek position relative to stream end |
Definition at line 53 of file ibstream.h.
| virtual tresult PLUGIN_API Steinberg::IBStream::read | ( | void * | buffer, | |
| int32 | numBytes, | |||
| int32 * | numBytesRead = 0 | |||
| ) | [pure virtual] |
Read binary from stream.
| buffer | : destination buffer | |
| numBytes | : amount of bytes to be read | |
| numBytesRead | : result - how many bytes have been read from stream (can be 0 if this is of no interest) |
Implemented in Steinberg::Vst::FileStream.
| virtual tresult PLUGIN_API Steinberg::IBStream::seek | ( | int64 | pos, | |
| int32 | mode, | |||
| int64 * | result = 0 | |||
| ) | [pure virtual] |
Set stream read-write position.
| pos | : new stream position (dependent on mode) | |
| mode | : value of enum IStreamSeekMode | |
| result | : new seek position (can be 0 if this is of no interest) |
Implemented in Steinberg::Vst::FileStream.
Get current stream read-write position.
| pos | : Is assigned the current position if function succeeds |
Implemented in Steinberg::Vst::FileStream.
| virtual tresult PLUGIN_API Steinberg::IBStream::write | ( | void * | buffer, | |
| int32 | numBytes, | |||
| int32 * | numBytesWritten = 0 | |||
| ) | [pure virtual] |
Write binary to stream.
| buffer | : source buffer | |
| numBytes | : amount of bytes to write | |
| numBytesWritten | : result - how many bytes have been written to stream (can be 0 if this is of no interest) |
Implemented in Steinberg::Vst::FileStream.
const FUID Steinberg::IBStream::iid [static] |