misc/libphysfs/lzma/CPP/7zip/Compress/Branch/SPARC.cpp
author Wuzzy <Wuzzy2@mail.ru>
Tue, 17 Jul 2018 19:28:31 +0200
changeset 13498 4f00b08d6f1e
parent 12213 bb5522e88ab2
permissions -rw-r--r--
Propagate fatal errors to OutError if checkFails called

// 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);
}