Warning: you were redirected to the latest documentation corresponding to your major release ( 2019.2.15.7667 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Go to the documentation of this file.
49 const void * in_pBytes,
65 const void * in_pBytes,
87 const void * in_pData,
119 AkInt32 cNewPos = cPos +
sizeof(T);
121 if ((m_cBytes >= cNewPos) || Grow(cNewPos))
123 AK::WriteUnaligned<T>(m_pBytes + cPos, in_data);
virtual bool Reserve(AkInt32 in_cBytes)
void Attach(const void *in_pBytes, AkInt32 in_cBytes)
virtual AkUInt8 * Detach()
Return pointer to buffer and clear internal pointer.
AkInt32 AkMemPoolId
Memory pool ID.
virtual bool WriteBytes(const void *in_pData, AkInt32 in_cBytes, AkInt32 &out_cWritten)
#define AKSOUNDENGINE_API
bool Write(const T &in_data)
ReadBytesMem(const void *in_pBytes, AkInt32 in_cBytes)
virtual void SetCount(AkInt32 in_cBytes)
Set number of bytes written.
virtual AkUInt8 * Bytes() const
virtual AkInt32 Count() const
virtual bool ReadBytes(void *in_pData, AkInt32 in_cBytes, AkInt32 &out_cRead)
virtual void Clear()
Clear the buffer contents.
void SetMemPool(AkMemPoolId in_pool)
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