Hacker News new | ask | show | jobs
by tprynn 2017 days ago
BinData (https://github.com/dmendel/bindata) is a Ruby gem for this, basically using a DSL in Ruby to declaratively define binary data formats that can be both read and written.