Upload 2.0.2
[physicsfs] / lzma / CPP / 7zip / Compress / Branch / ARMThumb.cpp
1 // ARMThumb.cpp
2
3 #include "StdAfx.h"
4
5 #include "ARMThumb.h"
6
7 extern "C" 
8
9 #include "../../../../C/Compress/Branch/BranchARMThumb.h"
10 }
11
12 UInt32 CBC_ARMThumb_Encoder::SubFilter(Byte *data, UInt32 size)
13 {
14   return ::ARMThumb_Convert(data, size, _bufferPos, 1);
15 }
16
17 UInt32 CBC_ARMThumb_Decoder::SubFilter(Byte *data, UInt32 size)
18 {
19   return ::ARMThumb_Convert(data, size, _bufferPos, 0);
20 }