mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-14 20:40:03 +02:00
Add a way to write a VectorStream back
This commit is contained in:
@@ -127,6 +127,8 @@ class VectorStream : public Steinberg::IBStream,
|
||||
|
||||
/**
|
||||
* Read an existing stream.
|
||||
*
|
||||
* @throw std::runtime_error If we couldn't read from the stream.
|
||||
*/
|
||||
VectorStream(Steinberg::IBStream* stream);
|
||||
|
||||
@@ -134,6 +136,12 @@ class VectorStream : public Steinberg::IBStream,
|
||||
|
||||
DECLARE_FUNKNOWN_METHODS
|
||||
|
||||
/**
|
||||
* Write the vector buffer back to an IBStream. After writing the seek
|
||||
* position will be left at the end of the stream.
|
||||
*/
|
||||
tresult write_back(Steinberg::IBStream* stream);
|
||||
|
||||
/**
|
||||
* Return the buffer's, used in the logging messages.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user