Parse and pack simple binary formats by describing the format as a combination of basic binary elements.
A 'jar' is a combination parser/packer. The library includes basic jars, like a jar for big-endian 32-bit integers, as well as combinators that augment jars into more complicated jars, like 'repeat 5 times' and 'followed by'.
Combining jars is much less error prone than hand-writing parsers and packers, but gives comparable performance thanks to runtime optimization and compilation.
Follow the project url for more information and usage examples.
Install-Package Strilanc.PickleJar -Version 1.0.1
dotnet add package Strilanc.PickleJar --version 1.0.1
<PackageReference Include="Strilanc.PickleJar" Version="1.0.1" />
paket add Strilanc.PickleJar --version 1.0.1
Initial usable release. Parsing is optimized at runtime in most cases, but packing is not. Fixed a bug where analyzing 'string' for blittability would hang.
This package has no dependencies.
This package is not used by any popular GitHub repositories.