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