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.
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)
virtual ~WriteBytesBuffer()
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.
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)
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