Interface Technology Basics VST 3.7
SDK for developing VST plug-in
ISizeableStream Class Referenceabstract

Stream with a size. More...

#include <ibstream.h>

+ Inheritance diagram for ISizeableStream:

Public Member Functions

virtual tresult getStreamSize (int64 &size)=0
 Return the stream size. More...
 
virtual tresult setStreamSize (int64 size)=0
 Set the steam size. More...
 
- Public Member Functions inherited from FUnknown
virtual tresult queryInterface (const TUID _iid, void **obj)=0
 Query for a pointer to the specified interface. More...
 
virtual uint32 addRef ()=0
 Adds a reference and returns the new reference count. More...
 
virtual uint32 release ()=0
 Releases a reference and returns the new reference count. More...
 

Static Public Attributes

static const FUID iid
 
- Static Public Attributes inherited from FUnknown
static const FUID iid
 

Detailed Description

Stream with a size.

[extends IBStream] when stream type supports it (like file and memory stream)

Member Function Documentation

◆ getStreamSize()

virtual tresult getStreamSize ( int64 size)
pure virtual

Return the stream size.

◆ setStreamSize()

virtual tresult setStreamSize ( int64  size)
pure virtual

Set the steam size.

File streams can only be resized if they are write enabled.

Member Data Documentation

◆ iid

const FUID iid
static
Empty

Copyright © Steinberg Media Technologies GmbH. All Rights Reserved. This documentation is under this license.