ptr-peeker

High-performance composable binary data deserializers

https://github.com/nikita-volkov/ptr-peeker

Stackage Nightly 2026-08-19:0.2.0.1
Latest on Hackage:0.2.0.1

See all snapshots ptr-peeker appears in

MIT licensed and maintained by Nikita Volkov
This version can be pinned in stack with:ptr-peeker-0.2.0.1@sha256:09e890fa44e9c065c60e20096501fede5f6ac33e9bb3eaa74b9031edbf024af1,3207

Module documentation for 0.2.0.1

Used by 1 package in nightly-2026-08-19(full list with versions):

A high-performance binary data deserialization library providing a type-safe, flexible and composable abstraction over manipulations on pointers.

The API consists of two complementary abstractions:

  • Fixed decoders for compile-time known, fixed-size data structures

  • Variable decoders for runtime-dependent, variable-size data structures

In combination they allow to build decoders of any complexity.

The library delivers superior performance compared to alternatives like "cereal" and "store", making it ideal for high-throughput applications, networking, and systems programming.