Adding link to http://mechanical-sympathy.blogspot.com/2014/05/simple-binary-encoding.html