I found a rabbit-hole about encoding/decoding binary data in #OCaml, it results ...

@dinosaure@mastodon.social

I found a rabbit-hole about encoding/decoding binary data in #OCaml, it results to a DSL which is the fastest about decoding things (like IPv4 packets). You can see the implementation here: github.com/robur-coop/bstr/tre

I will make a release soon!