Files
easy7zip/Common/AlignedBuffer.h
Igor Pavlov 8c1b5c7b7e 3.13
2016-05-28 00:15:41 +01:00

17 lines
292 B
C++
Executable File

// 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