You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
855 B

using System;
namespace LZ4Sharp
{
public interface ILZ4Decompressor
{
unsafe int Decompress(byte* compressedBuffer, byte* decompressedBuffer, int compressedSize, int maxDecompressedSize);
byte[] Decompress(byte[] compressed);
int Decompress(byte[] compressed, byte[] decompressedBuffer);
int Decompress(byte[] compressedBuffer, byte[] decompressedBuffer, int compressedSize);
int Decompress(byte[] compressedBuffer, int compressedPosition, byte[] decompressedBuffer, int decompressedPosition, int compressedSize);
unsafe int DecompressKnownSize(byte* compressed, byte* decompressedBuffer, int decompressedSize);
void DecompressKnownSize(byte[] compressed, byte[] decompressed);
int DecompressKnownSize(byte[] compressed, byte[] decompressedBuffer, int decompressedSize);
}
}