Byte-Oriented FormatsThese are generally much simpler than bit-oriented formats. In the vast majority of cases, a byte-oriented format is likely to be sufficient for most general data storage needs, with bit-oriented formats more left for cases where either the data is overly bulky, or where there is significant need to minimize storage. Generally, handling of byte-oriented data tends to be faster than that of handling bit-oriented data. Within the confines of bytes there are still a few things that can be done to reduce storage requirements:
- Variable-Length Numbers;
- Encoding more items in less bytes.
- Flexibly representing data structures and allowing for future expansion;
- Allowing for seeking or resynchronization in stream oriented formats;
- Allowing for things like random access to (potentially compressed) data.