The idea is that the first byte (or bytes, depending on the format) represent a
**tag
**. In the basic example above, the byte
`f0` means email, and the byte
`f1` means username. The next byte(s) indicates the
**length
** of the information. So,
`f0 10` means that we're expecting a 16 byte
long email next. So, we read the next 16 bytes
`75 73 65 72 40 65 78 61 6d 70 6c 65 2e 63 6f 6d` and that should be an email
**value
**. If we decode those bytes as ASCII, what do we get?
`[email protected]`.
_Voilà!
_ Now rinse and repeat for the next bytes: a
`f1` username
… that is
`0b 10` bytes long
… `6d 79 5f 75 73 65 72 6e 61 6d 65`—`my_username`!
0 commit comments