Version

    Other Documentation

menu_open
Wwise SDK 2021.1.14
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 AkUInt8 Bytes () 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 AkUInt8 Detach ()=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 237 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