Ever forget how to take a hex string like "2D" and convert it into binary data? Or how to parse an ascii-binary string like "101101" into a plain integer? Me too.
I forked this to compare it to Scala - https://gist.github.com/chris-... - but I'm not sure what "\x00\x00\x00\x2d" is supposed to be. What is this encoding (and why would you want it?)