Comment on Parsing bitstreams with NomComments−jstanley4yIf you want some practice, you could try solving Advent of Code 2021 day 16: https://adventofcode.com/2021/day/16−zibzab4yWas reading this with an odd sense of deja vu.Then it hit me: If we ignore the odd choice of 3 & 5 bit fields, this is very similar to ASN.1−adamchOP4yThat is exactly why I ended up learning bitwise Nom, and the inspiration for this blog post :)
Comments
If you want some practice, you could try solving Advent of Code 2021 day 16: https://adventofcode.com/2021/day/16
Was reading this with an odd sense of deja vu.
Then it hit me: If we ignore the odd choice of 3 & 5 bit fields, this is very similar to ASN.1
That is exactly why I ended up learning bitwise Nom, and the inspiration for this blog post :)