[docs] Minor fixes to LZ4 documentation

This commit is contained in:
Timofey Solomko
2021-11-03 20:41:48 +03:00
parent 9f7efc9276
commit 10905dc588
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -11,8 +11,8 @@ extension LZ4: CompressionAlgorithm {
/**
Compresses `data` using LZ4 algortihm with default format and algorithm options.
The default options include: independent blocks, do not save checksums for compressed blocks, save checksum for the
uncompressed data, do not save the size of the uncompressed data, use 4 MB block size, no dictionary.
The default options include: independent blocks, do not save checksums for compressed blocks, save the checksum of
the uncompressed data, do not save the size of the uncompressed data, use 4 MB block size, no dictionary.
*/
public static func compress(data: Data) -> Data {
return LZ4.compress(data: data, independentBlocks: true, blockChecksums: false, contentChecksum: true,
+1
View File
@@ -6,6 +6,7 @@
import Foundation
import BitByteData
/// Provides functions for compression and decompression for LZ4 algorithm.
public enum LZ4: DecompressionAlgorithm {
// Notes about implementation and performance.