- Factor out readBinaryInteger to a common function used by both LittleEndian
  and BigEndian.
- Support reading LittleEndian integers.