Example #1
0
 public static int Decompress(
     byte *compressedBuffer,
     byte *decompressedBuffer,
     int compressedSize,
     int maxDecompressedSize)
 {
     return(LZ4DecompressorFactory.CreateNew().Decompress(compressedBuffer, decompressedBuffer, compressedSize, maxDecompressedSize));
 }
Example #2
0
 public static int Decompress(byte[] compressed, byte[] decompressedBuffer)
 {
     return(LZ4DecompressorFactory.CreateNew().Decompress(compressed, decompressedBuffer));
 }
Example #3
0
 public static int DecompressKnownSize(byte *compressed, byte *decompressedBuffer, int decompressedSize)
 {
     return(LZ4DecompressorFactory.CreateNew().DecompressKnownSize(compressed, decompressedBuffer, decompressedSize));
 }
Example #4
0
 public static byte[] Decompress(byte[] compressed)
 {
     return(LZ4DecompressorFactory.CreateNew().Decompress(compressed));
 }
Example #5
0
 public static void DecompressKnownSize(byte[] compressed, byte[] decompressed)
 {
     LZ4DecompressorFactory.CreateNew().DecompressKnownSize(compressed, decompressed);
 }