Bit I/O & Universal Codes Checkpoint

MSB-first semantics, padding, and Elias codes.


1. MSB-first means:
2. WriteBits(value, n) writes:
3. Gamma code for n=1 is:
4. Gamma code length grows roughly as:
5. Delta coding first encodes:
6. Trailing padding bits should be:
7. Gamma code for n=13 (1101) is:
8. True/False: Bit order must be consistent across writer and reader.