All Projects → luckymarmot → ZstdKit

luckymarmot / ZstdKit

Licence: other
An Objective-C and Swift library for Zstd (Zstandard) compression and decompression.

Programming Languages

objective c
16641 projects - #2 most used programming language
c
50402 projects - #5 most used programming language
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to ZstdKit

ratarmount
Random Access Read-Only Tar Mount
Stars: ✭ 217 (+886.36%)
Mutual labels:  compression, zstd, zstandard
Compress
Optimized Go Compression Packages
Stars: ✭ 2,478 (+11163.64%)
Mutual labels:  compression, zstd, zstandard
EasyCompressor
⚡ A compression library that implements many compression algorithms such as LZ4, Zstd, LZMA, Snappy, Brotli, GZip, and Deflate. It helps you to improve performance by reducing Memory Usage and Network Traffic for caching.
Stars: ✭ 167 (+659.09%)
Mutual labels:  compression, zstd, zstandard
ZRA
ZStandard Random Access (ZRA) allows random access inside an archive compressed using ZStandard
Stars: ✭ 21 (-4.55%)
Mutual labels:  compression, zstd, zstandard
sqlite zstd vfs
SQLite3 extension for read/write storage compression with Zstandard
Stars: ✭ 42 (+90.91%)
Mutual labels:  zstd, zstandard
box
Box - Open Standard Archive Format, a zip killer.
Stars: ✭ 38 (+72.73%)
Mutual labels:  compression, zstandard
pyrus-cramjam
Thin Python wrapper to de/compression algorithms in Rust - lightweight & no dependencies
Stars: ✭ 40 (+81.82%)
Mutual labels:  compression, zstd
Gozstd
go wrapper for zstd
Stars: ✭ 275 (+1150%)
Mutual labels:  compression, zstd
Lizard
Lizard (formerly LZ5) is an efficient compressor with very fast decompression. It achieves compression ratio that is comparable to zip/zlib and zstd/brotli (at low and medium compression levels) at decompression speed of 1000 MB/s and faster.
Stars: ✭ 408 (+1754.55%)
Mutual labels:  compression, zstd
Dwarfs
A fast high compression read-only file system
Stars: ✭ 444 (+1918.18%)
Mutual labels:  compression, zstd
Zstdnet
Zstd wrapper for .NET
Stars: ✭ 176 (+700%)
Mutual labels:  compression, zstd
zstd-rs
zstd-decoder in pure rust
Stars: ✭ 148 (+572.73%)
Mutual labels:  compression, zstd
7 Zip Zstd
7-Zip with support for Brotli, Fast-LZMA2, Lizard, LZ4, LZ5 and Zstandard
Stars: ✭ 2,150 (+9672.73%)
Mutual labels:  zstd, zstandard
Zstd Rs
A rust binding for the zstd compression library.
Stars: ✭ 159 (+622.73%)
Mutual labels:  compression, zstd
Turbobench
Compression Benchmark
Stars: ✭ 211 (+859.09%)
Mutual labels:  compression, zstd
zstdmt
Multithreading Library for Brotli, Lizard, LZ4, LZ5, Snappy and Zstandard
Stars: ✭ 107 (+386.36%)
Mutual labels:  zstd, zstandard
pyzstd
Python bindings to Zstandard (zstd) compression library, the API is similar to Python's bz2/lzma/zlib modules.
Stars: ✭ 4 (-81.82%)
Mutual labels:  zstd, zstandard
Lzbench
lzbench is an in-memory benchmark of open-source LZ77/LZSS/LZMA compressors
Stars: ✭ 490 (+2127.27%)
Mutual labels:  compression, zstd
pgzstd
Postgres module for Zstandard compression/decompression with preset dictionary support
Stars: ✭ 31 (+40.91%)
Mutual labels:  zstd, zstandard
sparkzstd
A zstd decompressor written in golang
Stars: ✭ 45 (+104.55%)
Mutual labels:  zstd, zstandard

ZstdKit

An Objective-C and Swift library for Zstd (Zstandard) compression and decompression.

Installation

Via Cocoapods:

pod 'ZstdKit'

Usage

NSData category

// compression
[myData compressZstd];

// decompression
[myData decompressZstd];

Compressor class

Simple usage

// compression
[LMZstdCompressor compressedDataWithData:myData];

// decompression
[LMZstdCompressor decompressedDataWithData:myData];

Compression level

// compression
[LMZstdCompressor compressedDataWithData:myData compressionLevel:3];

Core Foundation API

CF_EXPORT CFDataRef LMCreateZstdCompressedData(const void* bytes, CFIndex length, int16_t compressionLevel);
CF_EXPORT CFDataRef LMCreateZstdDecompressedData(const void* bytes, CFIndex length);

License

The original Zstandard code is licensed under the BSD license. This code is licensed under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].