ARMThumb.cpp 386 B

1234567891011121314151617181920
  1. // ARMThumb.cpp
  2. #include "StdAfx.h"
  3. #include "ARMThumb.h"
  4. extern "C"
  5. {
  6. #include "../../../../C/Compress/Branch/BranchARMThumb.h"
  7. }
  8. UInt32 CBC_ARMThumb_Encoder::SubFilter(Byte *data, UInt32 size)
  9. {
  10. return ::ARMThumb_Convert(data, size, _bufferPos, 1);
  11. }
  12. UInt32 CBC_ARMThumb_Decoder::SubFilter(Byte *data, UInt32 size)
  13. {
  14. return ::ARMThumb_Convert(data, size, _bufferPos, 0);
  15. }