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