A declarative serialization framework for controlling formatting of data at the byte and bit level using field bindings, converters, and code.