Version

menu_open
Wwise SDK 2022.1.17
AkBytesMem.h
virtual bool Reserve(AkInt32 in_cBytes)
Audiokinetic namespace.
void Attach(const void *in_pBytes, AkInt32 in_cBytes)
virtual AkUInt8 * Detach()
Return pointer to buffer and clear internal pointer.
virtual ~ReadBytesMem()
AkInt32 AkMemPoolId
Memory pool ID.
Definition: AkTypes.h:130
uint8_t AkUInt8
Unsigned 8-bit integer.
virtual bool WriteBytes(const void *in_pData, AkInt32 in_cBytes, AkInt32 &out_cWritten)
int32_t AkInt32
Signed 32-bit integer.
#define AKSOUNDENGINE_API
bool Write(const T &in_data)
Definition: AkBytesMem.h:139
virtual ~WriteBytesBuffer()
AkInt32 GetPos() const
void SetBuffer(AkUInt8 *in_pBytes, AkInt32 in_cSize)
ReadBytesMem(const void *in_pBytes, AkInt32 in_cBytes)
virtual void SetCount(AkInt32 in_cBytes)
Set number of bytes written.
AkInt32 Size() const
virtual ~WriteBytesMem()
virtual AkUInt8 * Bytes() const
virtual AkInt32 Count() const
virtual bool ReadBytes(void *in_pData, AkInt32 in_cBytes, AkInt32 &out_cRead)
virtual bool WriteBytes(const void *in_pData, AkInt32 in_cBytes, AkInt32 &out_cWritten)
virtual void Clear()
Clear the buffer contents.
void SetMemPool(AkMemPoolId in_pool)
AkUInt8 * GetWritePtr(AkInt32 in_cBytes)
Definition: AkBytesMem.h:117

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