Hacker News new | ask | show | jobs
by sebosp 989 days ago
I mean for example https://github.com/sebosp/s2protocol-rs/blob/755098fb86ab6b1... I hacked my way around the json protocol specification, an enum has n types, using log I can find the number of bits I need to read to uniquely identify each variant, that kind of serialization I wonder the name of.
1 comments

I'm not sure about an official name, I also just call it "bitpacked".