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: https://github.com/robur-coop/bstr/tree/bin
I will make a release soon!
I will make a release soon!
1