|
LMMS
|
#include <vstpresetfile.h>
Public Member Functions | |
| BufferStream () | |
| virtual | ~BufferStream () |
| DECLARE_FUNKNOWN_METHODS tresult PLUGIN_API | read (void *buffer, int32 numBytes, int32 *numBytesRead=nullptr) SMTG_OVERRIDE |
| tresult PLUGIN_API | write (void *buffer, int32 numBytes, int32 *numBytesWritten=nullptr) SMTG_OVERRIDE |
| tresult PLUGIN_API | seek (int64 pos, int32 mode, int64 *result=nullptr) SMTG_OVERRIDE |
| tresult PLUGIN_API | tell (int64 *pos) SMTG_OVERRIDE |
| Public Member Functions inherited from Steinberg::FUnknown | |
| virtual tresult PLUGIN_API | queryInterface (const TUID _iid, void **obj)=0 |
| virtual uint32 PLUGIN_API | addRef ()=0 |
| virtual uint32 PLUGIN_API | release ()=0 |
Protected Attributes | |
| Buffer | mBuffer |
Additional Inherited Members | |
| Public Types inherited from Steinberg::IBStream | |
| enum | IStreamSeekMode { kIBSeekSet = 0 , kIBSeekCur , kIBSeekEnd } |
| Static Public Attributes inherited from Steinberg::IBStream | |
| static const FUID | iid |
| Static Public Attributes inherited from Steinberg::FUnknown | |
| static const FUID | iid |
Stream implementation for a memory buffer.
| Steinberg::Vst::BufferStream::BufferStream | ( | ) |
|
virtual |
|
virtual |
Reads binary data from stream.
| buffer | : destination buffer |
| numBytes | : amount of bytes to be read |
| numBytesRead | : result - how many bytes have been read from stream (set to 0 if this is of no interest) |
Implements Steinberg::IBStream.
|
virtual |
Sets stream read-write position.
| pos | : new stream position (dependent on mode) |
| mode | : value of enum IStreamSeekMode |
| result | : new seek position (set to 0 if this is of no interest) |
Implements Steinberg::IBStream.
Gets current stream read-write position.
| pos | : is assigned the current position if function succeeds |
Implements Steinberg::IBStream.
|
virtual |
Writes binary data to stream.
| buffer | : source buffer |
| numBytes | : amount of bytes to write |
| numBytesWritten | : result - how many bytes have been written to stream (set to 0 if this is of no interest) |
Implements Steinberg::IBStream.
|
protected |