compress

module
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2026 License: Apache-2.0

README

nyarime/compress

Go Reference

Pure Go house compression codecs for the Nyarime stack. Apache-2.0 (same family as GoFEC).

简体中文

Philosophy

In-house first. We study klauspost/compress, libzstd, xz/7-Zip, and public corpora — then implement and tune our own encoders. This is not a long-term wrapper around klauspost.

Package Role
zstd/ RFC 8878 house encoder/decoder (NYA CompressionID 1–5)
lzma2/ Raw LZMA2 streams + XZ/LZMA decode helpers (CompressionID 6)

NYA (GPL-3.0) links this library for archive payloads.

Status

v0.1.0 — codecs migrated from github.com/nyarime/nya; NYA uses require github.com/nyarime/compress.

  • GoFEC — FEC (Apache-2.0)
  • NYA — archive + CLI

Directories

Path Synopsis
Package lzma2 implements Nyarime house raw LZMA2 streams (NYA CompressionID 6).
Package lzma2 implements Nyarime house raw LZMA2 streams (NYA CompressionID 6).
Package zstd implements RFC 8878 zstd frames for NYA.
Package zstd implements RFC 8878 zstd frames for NYA.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL