misc/libphysfs/lzma/CPP/7zip/Compress/Branch/SPARC.cpp
author Wuzzy <almikes@aol.com>
Sat, 15 Apr 2017 23:21:13 +0200 (2017-04-15)
changeset 12265 0641da8c22ee
parent 12218 bb5522e88ab2
permissions -rw-r--r--
Add two main menu tips regarding mission panel
// 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);
}