Helpful DSL for reading and writing binary protocols in Ruby