Tins · Primitives
zstd
A Mojo binding to libzstd — one-shot and streaming, both directions — through a small C shim loaded at runtime, so consumers need no link flags.
What it does
Works today
- One-shot and streaming compress and decompress
- Frame introspection: is_zstd_frame, frame_content_size
- The shim is dlopen'd once, not per call
Correctness
Checked against Python zstandard, against independently produced frames baked in as constants