mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-15 02:11:43 -06:00
3.13
This commit is contained in:
16
Common/AlignedBuffer.h
Executable file
16
Common/AlignedBuffer.h
Executable file
@@ -0,0 +1,16 @@
|
||||
// AlignedBuffer.h
|
||||
|
||||
#ifndef __ALIGNBUFFER_H
|
||||
#define __ALIGNBUFFER_H
|
||||
|
||||
class CAlignedBuffer
|
||||
{
|
||||
unsigned char *m_Buffer;
|
||||
public:
|
||||
CAlignedBuffer(): m_Buffer(0) {};
|
||||
~CAlignedBuffer() { Free(); }
|
||||
void *Allocate(size_t numItems, size_t itemSize, size_t alignValue);
|
||||
void Free();
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user