36 #include <AK/IBytes.h>
37 #include <AK/SoundEngine/Common/AkSoundEngineExport.h>
38 #include <AK/Tools/Common/AkBankReadHelpers.h>
49 const void * in_pBytes,
65 const void * in_pBytes,
69 AKSOUNDENGINE_API AkInt32
Count();
73 const AkUInt8 * m_pBytes;
88 const void * in_pData,
90 AkInt32& out_cWritten);
98 AKSOUNDENGINE_API
virtual AkInt32
Count()
const;
104 AKSOUNDENGINE_API
virtual AkUInt8 *
Bytes()
const;
106 AKSOUNDENGINE_API
virtual AkUInt8 *
Detach();
108 AKSOUNDENGINE_API
virtual void Clear();
virtual AkUInt8 * Bytes() const
virtual AkUInt8 * Detach()
Return pointer to buffer and clear internal pointer.
ReadBytesSkip(const void *in_pBytes, AkInt32 in_cBytes)
virtual void Clear()
Clear the buffer contents.
bool Write(const T &in_data)
virtual ~WriteBytesCount()
virtual bool WriteBytes(const void *in_pData, AkInt32 in_cBytes, AkInt32 &out_cWritten)
virtual void SetCount(AkInt32 in_cBytes)
Set number of bytes written.
virtual bool ReadBytes(void *in_pData, AkInt32 in_cBytes, AkInt32 &out_cRead)
void Attach(const void *in_pBytes, AkInt32 in_cBytes)
virtual AkInt32 Count() const
virtual bool Reserve(AkInt32 in_cBytes)
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