Painless binary protocol parsers using generators.