Aaru.Compression.Native 6.0.0-alpha.21

This is a prerelease version of Aaru.Compression.Native.
dotnet add package Aaru.Compression.Native --version 6.0.0-alpha.21
                    
NuGet\Install-Package Aaru.Compression.Native -Version 6.0.0-alpha.21
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aaru.Compression.Native" Version="6.0.0-alpha.21" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Aaru.Compression.Native" Version="6.0.0-alpha.21" />
                    
Directory.Packages.props
<PackageReference Include="Aaru.Compression.Native" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Aaru.Compression.Native --version 6.0.0-alpha.21
                    
#r "nuget: Aaru.Compression.Native, 6.0.0-alpha.21"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Aaru.Compression.Native@6.0.0-alpha.21
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Aaru.Compression.Native&version=6.0.0-alpha.21&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Aaru.Compression.Native&version=6.0.0-alpha.21&prerelease
                    
Install as a Cake Tool

Aaru.Compression.Native

This repository contains the Aaru.Compression.Native library for Aaru.

The purpose of this library is to provide compression and de-compression algorithms for Aaru.

No archiver processing code should fall here, those go in Aaru.Compression.

To build you just need Docker on Linux and run build.sh, that will generate a NuGet package for use with Aaru.Compression.

Currently implemented algorithms are:

General-purpose codecs

  • Apple Data Compression (RLE with sliding dictionary created for Apple Disk Copy's NDIF)
  • Apple LZH (LH1 variant used by Apple DART's "best" compression mode)
  • Apple RLE (Run Length Encoding created for Apple DART)
  • BZIP2
  • FLAC
  • KenCode (LZSS with variable-length prefix codes created for Apple Disk Copy's NDIF)
  • LZ4
  • LZFSE
  • LZIP
  • LZMA / LZMA2 / XZ
  • LZO
  • NDIF ShrinkWrap SIT2 (block Huffman LZSS from ShrinkWrap 3's Component Manager codec)
  • Zstandard

Archive decompressors

  • ACE v1 (LZ77) and v2 (blocked with delta/EXE/sound/picture modes)
  • ARC methods 3–9 (pack, squeeze, crunch, squash) and PAK methods 10–11 (crush, distill)
  • ARJ methods 1–4 and ARJZ (standard LZH and extended DEFLATE)
  • Compact Pro (RLE, LZH+RLE)
  • DiskDoubler (ADn LZSS, DDn block Huffman LZ77, adaptive Huffman, Stac LZS, Compact Pro, LZW)
  • HA (ASC and HSC)
  • LHA (LH1–LH7, LArc LZS/LZ5, PMarc PM1/PM2)
  • RAR 1.5 (custom LZ77 with fixed Huffman tables)
  • RAR 2.0 (block Huffman LZ77 with optional multichannel audio)
  • RAR 3.0 (Huffman LZ77 / PPMd Variant H with VM-based post-filters)
  • RAR 5.0 (Huffman LZ77 with native Delta/E8/E8E9/ARM filters)
  • StuffIt classic methods 1–3, 5, 8, 13–15 (RLE, LZW, Huffman, LZAH, MW, LZSS, Arsenic)
  • StuffIt X methods 0–4, 6 (Brimstone/PPMd, Cyanide/BWT, Darkhorse/LZSS, Deflate, Blend, Iron/BWT)
  • StuffIt X preprocessors (English dictionary, x86 executable transform)
  • ZIP methods 1–6, 9-10, 96–98 (Shrink, Reduce, Implode, DCL Implode, Deflate64, WinZip JPEG, WavPack, PPMd)
  • Zoo (LZD, LH5)

Each of these algorithms have a corresponding license, that can be found in their corresponding folder.

The resulting output of build.sh falls under the LGPL 2.1 license as stated in the LICENSE file.

Any new algorithm added should be under a license compatible with the LGPL 2.1 license to be accepted.

© 2021-2026 Natalia Portillo

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Aaru.Compression.Native:

Package Downloads
Aaru.Compression

Compression algorithms used by the Aaru Data Preservation Suite.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Aaru.Compression.Native:

Repository Stars
aaru-dps/Aaru
Aaru Data Preservation Suite
Version Downloads Last Updated
6.0.0-alpha.21 73 4/21/2026
6.0.0-alpha.20 70 4/20/2026
6.0.0-alpha.19 59 4/19/2026
6.0.0-alpha.18 84 4/17/2026
6.0.0-alpha.17 53 4/17/2026
6.0.0-alpha.16 47 4/16/2026
6.0.0-alpha.15 76 4/15/2026
6.0.0-alpha.14 581 2/8/2026
6.0.0-alpha.13 68 2/8/2026
6.0.0-alpha.12 391 12/26/2025
6.0.0-alpha.11.4 387 9/2/2025
6.0.0-alpha.11.3 165 9/2/2025
6.0.0-alpha.11.2 200 8/26/2025
6.0.0-alpha.11.1 87 8/23/2025
6.0.0-alpha.10 1,355 9/25/2023