Recursive AI

Documentation

All onearchive docs

Normative, language-neutral notes on what each codec and container does: the choices the formats leave open, the defaults and limits, and the benchmark method. A port should be able to reproduce the same bytes from these pages. The XML documentation shipped in both packages is the API reference. Specification sections are cited by number; the specifications themselves are not reproduced.

Every codec has the same three tiers (conventions.md): static one-liners, encoder/decoder structs with OperationStatus over spans plus a stream, and the raw parts underneath.

Codecs (RecursiveAI.OneCompress)

FamilySpecificationDecoderEncoderNotes
ZstandardRFC 8878zstd-decoderzstd-encoderdictionary training, seekable format, small-payload method
LZ4LZ4 block and frame format documentslz4-decoderlz4-encoderblock and frame, dictionaries
DeflateRFC 1951deflate-decoderdeflate-encoder
zlib and gzipRFC 1950, RFC 1952gzip-zlibgzip-zlibwrappers over Deflate
Deflate64APPNOTE 6.3.10, section 4.4.5deflate64-decoderdeflate64-encoderderivation by experiment
BrotliRFC 7932brotli-decoderbrotli-encoderbuilt-in dictionary
LZMA and LZMA2LZMA specificationlzma-decoderlzma-encoder
xzxz file format specificationxzxzchecks, filters, blocks
lzipthe lzip manuallziplzip
Branch and Delta filtersxz file format specification, 5.3.2filtersfiltersx86, ARM, ARM64, RISC-V and others
bzip2public descriptions, no official specificationbzip2-decoderbzip2-encoderderivation by experiment
PPMd (variants H and I)Shkarin's papers and public-domain reference sourcesppmdppmd
LZX and MSZIP[MS-PATCH], the cabinet formatlzx-decodernot providedused by cab
ChecksumsRFC 1952, RFC 3720, ECMA-182, xxHash descriptionchecksumsCRC-32, CRC-32C, CRC-64, Adler-32, xxHash32, xxHash64

Also: message mode (compressing many small messages with a trained dictionary and reused state).

Containers (RecursiveAI.OneArchive)

FormatSpecificationPage
The shared model, safety defaults, limits, Archivearchive
Codec registration and trimmingarchive-codecs
tarPOSIX ustar and pax, GNU tar manualtar
zipAPPNOTE 6.3.10, WinZip AESzip, encryption, recovery
Single compressed files, .tar.*single-streams
7z7zFormat.txtreader, writer, AES key derivation
cpio and arcpio-ar
ISO 9660 with Joliet and Rock RidgeECMA-119, Joliet, IEEE P1281 and P1282iso
cabthe cabinet file formatcab-reader
RAR 5 (listing and stored entries)the RAR 5 technoterar-reader
Microsoft compound files[MS-CFB]cfb

Measurement and determinism

  • bench-method: how speed, size and memory are measured, against the native tools and against the fastest managed .NET libraries, including the size-matched rows.
  • hash-matrix: how byte-identical output is checked across operating systems, CPUs, runtimes, thread counts and WebAssembly.