misc/libphysfs/lzma/CPP/7zip/Compress/Branch/SPARC.cpp
author unc0rr
Thu, 11 Oct 2018 23:43:31 +0200
changeset 13880 5f819b90d479
parent 12213 bb5522e88ab2
permissions -rw-r--r--
- Fix insert() for strings in pas2c - Implement insert() for ansistrings

// SPARC.cpp

#include "StdAfx.h"
#include "SPARC.h"

extern "C" 
{ 
#include "../../../../C/Compress/Branch/BranchSPARC.h"
}

UInt32 CBC_SPARC_Encoder::SubFilter(Byte *data, UInt32 size)
{
  return ::SPARC_Convert(data, size, _bufferPos, 1);
}

UInt32 CBC_SPARC_Decoder::SubFilter(Byte *data, UInt32 size)
{
  return ::SPARC_Convert(data, size, _bufferPos, 0);
}