Registry / utility / aircompressor

aircompressor

JSON →
library2.0.3javamavenunverified

Aircompressor is a Java library providing fast compression and decompression algorithms including LZ4, Snappy, and Zstandard.

<dependency> <groupId>io.airlift</groupId> <artifactId>aircompressor</artifactId> <version>2.0.3</version> </dependency>
INSTALL
IMPORT
SIG · AIRCOMPRESSOR
A
aircompressor
utilityjavav2.0.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Lz4Compressor
io.airlift.compress.lz4.Lz4Compressor

Minimal example compressing a byte array using LZ4.

import io.airlift.compress.lz4.Lz4Compressor; import io.airlift.compress.lz4.Lz4Decompressor; import java.nio.ByteBuffer; public class Example { public static void main(String[] args) { byte[] input = "Hello, World!".getBytes(); Lz4Compressor compressor = new Lz4Compressor(); byte[] compressed = new byte[compressor.maxCompressedLength(input.length)]; int compressedSize = compressor.compress(input, 0, input.length, compressed, 0, compressed.length); System.out.println("Compressed size: " + compressedSize); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
22
OpenAI (training)
1
Resources
aircompressor — mvn dependency:get aircompressor · libregistry