Hacker News new | ask | show | jobs
by J_tt 1067 days ago
What’s fantastic is you can reference an unpacked variable immediately within the bitstring.

This is super handy if you have variable length sections with a header, such as a DNS packet, saving having to do it in two operations.