minor change to aide in reverse engineering protobufs

This commit is contained in:
jmjatlanta 2016-12-22 13:40:11 -05:00
parent 5eeae56378
commit 8d966178f4

2
main.c
View file

@ -100,7 +100,7 @@ int main(int argc, char** argv) {
unsigned long long varint = 0;
protobuf_decode_varint(&buffer[pos], numBytes-pos, &varint, &bytes_read);
pos += bytes_read;
printf(" Value: %llu\n", varint);
printf(" Value: %llu. Next read position at %lu\n", varint, pos);
break;
}
case (WIRETYPE_LENGTH_DELIMITED): {