minor change to aide in reverse engineering protobufs

master
jmjatlanta 2016-12-22 13:40:11 -05:00
parent 5eeae56378
commit 8d966178f4
1 changed files with 1 additions and 1 deletions

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): {