Update util.rs documentation
Refactor methods

- Join methods `process_digit` and `process_hex_digit` into a
  single method `process_digit`
- Remove `raw_unread` method