Ejemplos
A small field value
Entrada
1Expected answer
Hexadecimal bytes| Offset | Hex bytes | ASCII |
|---|---|---|
| 00000000 | 01 | . |
01
A 7-bit boundary
Entrada
127Expected answer
UTF-8 text · exact bytes
The first two-byte value
Entrada
128Expected answer
Hexadecimal bytes| Offset | Hex bytes | ASCII |
|---|---|---|
| 00000000 | 80 01 | .. |
80 01
The official Protobuf example
Entrada
150Expected answer
Hexadecimal bytes| Offset | Hex bytes | ASCII |
|---|---|---|
| 00000000 | 96 01 | .. |
96 01
A counter of 300
Entrada
300Expected answer
Hexadecimal bytes| Offset | Hex bytes | ASCII |
|---|---|---|
| 00000000 | ac 02 | .. |
ac 02
A three-byte boundary
Entrada
16384Expected answer
Hexadecimal bytes| Offset | Hex bytes | ASCII |
|---|---|---|
| 00000000 | 80 80 01 | ... |
80 80 01