Version

menu_open
Wwise SDK 2023.1.4
AK::IWriteBuffer Class Referenceabstract

#include <IBytes.h>

Inheritance diagram for AK::IWriteBuffer:
AK::IWriteBytes AK::WriteBytesCount AK::WriteBytesMem

Public Member Functions

Interface
virtual AkInt32 Count () const =0
 
virtual AkUInt8Bytes () const =0
 
virtual void SetCount (AkInt32 in_cBytes)=0
 Set number of bytes written. More...
 
virtual bool Reserve (AkInt32 in_cBytes)=0
 
virtual void Clear ()=0
 Clear the buffer contents. More...
 
virtual AkUInt8Detach ()=0
 Return pointer to buffer and clear internal pointer. More...
 
- Public Member Functions inherited from AK::IWriteBytes
virtual bool WriteBytes (const void *in_pData, AkInt32 in_cBytes, AkInt32 &out_cWritten)=0
 
template<class T >
bool Write (const T &in_data)
 
bool WriteString (const wchar_t *in_pszString)
 
bool WriteString (const char *in_pszString)
 

Detailed Description

Generic memory buffer interface.

Warning: The functions in this interface are not thread-safe, unless stated otherwise.

Definition at line 236 of file IBytes.h.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise