//public static class Custom { // public static byte[] Compress(byte[] input) { // return LZ4Loader.Compress1()(input); // } // public static byte[] Compress(byte[] input, int inputOffset, int inputLength, int passes) { // return LZ4Loader.Compress2()(input, inputOffset, inputLength, passes); // } // public static byte[] Decompress(byte[] input) { // return LZ4Loader.Decompress1()(input); // } // public static byte[] Decompress(byte[] input, int inputOffset, int inputLength) { // return LZ4Loader.Decompress2()(input, inputOffset, inputLength); // } //} //public static class Frame { public static byte[] Compress(byte[] input, LZ4FrameBlockMode blockMode = LZ4FrameBlockMode.Linked, LZ4FrameBlockSize blockSize = LZ4FrameBlockSize.Max64KB, LZ4FrameChecksumMode checksumMode = LZ4FrameChecksumMode.Content, long?maxFrameSize = null) { return(LZ4Loader.Compress3()(input, blockMode, blockSize, checksumMode, maxFrameSize)); }
//public static class Custom { // public static byte[] Compress(byte[] input) { // return LZ4Loader.Compress1()(input); // } // public static byte[] Compress(byte[] input, int inputOffset, int inputLength, int passes) { // return LZ4Loader.Compress2()(input, inputOffset, inputLength, passes); // } // public static byte[] Decompress(byte[] input) { // return LZ4Loader.Decompress1()(input); // } // public static byte[] Decompress(byte[] input, int inputOffset, int inputLength) { // return LZ4Loader.Decompress2()(input, inputOffset, inputLength); // } //} //public static class Frame { public static byte[] Compress(byte[] input, LZ4FrameBlockMode blockMode = LZ4FrameBlockMode.Linked, LZ4FrameBlockSize blockSize = LZ4FrameBlockSize.Max1MB, LZ4FrameChecksumMode checksumMode = LZ4FrameChecksumMode.Content, long?maxFrameSize = null, bool highCompression = false) { return(LZ4Loader.Compress3()(input, blockMode, blockSize, checksumMode, maxFrameSize, highCompression)); }