Clean up new DataInput/Output API
New compact byte representation, backwards-compatible
Revert "New compact byte representation, backwards-compatible"

This reverts commit 93ce024f5891d29f7359dc3daa1f6393cfe93175.
Optimize some small, common types