readRawVarint method
Implementation
int readRawVarint() {
int result = 0;
int shift = 0;
int b;
do {
b = _buf[_pos++];
result |= (b & 0x7F) << shift;
shift += 7;
} while ((b & 0x80) != 0);
return result;
}
int readRawVarint() {
int result = 0;
int shift = 0;
int b;
do {
b = _buf[_pos++];
result |= (b & 0x7F) << shift;
shift += 7;
} while ((b & 0x80) != 0);
return result;
}