7 #ifndef __PVPLEORACOMPRESSED_H__
8 #define __PVPLEORACOMPRESSED_H__
Pleora compressed interface to a PvBuffer.
Definition: PvPleoraCompressed.h:27
virtual PvResult Alloc(uint64_t aPayloadLength)=0
Allocates memory for this PvPleoraCompressed.
virtual PvResult Attach(void *aRawBuffer, uint64_t aPayloadLength)=0
Attach this PvPleoraCompressed to an external memory buffer.
virtual uint64_t GetPayloadLength() const =0
Get the payload length specified in the leader information of this block.
virtual void Free()=0
Frees (de-allocates) the buffer's internal memory.
virtual void SetPayloadLength(uint64_t aLength)=0
Sets the effective payload length for the buffer.
virtual uint8_t * Detach()=0
Releases an attached memory buffer.
Result information.
Definition: PvResult.h:30