Files
easy7zip/CPP/7zip/Compress/Branch/ARMThumb.cpp
Igor Pavlov a145bfc7cf 4.45 beta
2016-05-28 00:15:50 +01:00

21 lines
386 B
C++
Executable File

// ARMThumb.cpp
#include "StdAfx.h"
#include "ARMThumb.h"
extern "C"
{
#include "../../../../C/Compress/Branch/BranchARMThumb.h"
}
UInt32 CBC_ARMThumb_Encoder::SubFilter(Byte *data, UInt32 size)
{
return ::ARMThumb_Convert(data, size, _bufferPos, 1);
}
UInt32 CBC_ARMThumb_Decoder::SubFilter(Byte *data, UInt32 size)
{
return ::ARMThumb_Convert(data, size, _bufferPos, 0);
}