readVarLongNoZigZag method
Implementation
int readVarLongNoZigZag() {
int result = 0;
int shift = 0;
int b;
do {
b = readByte();
result |= (b & 0x7F) << shift;
shift += 7;
} while ((b & 0x80) != 0);
return result;
}
int readVarLongNoZigZag() {
int result = 0;
int shift = 0;
int b;
do {
b = readByte();
result |= (b & 0x7F) << shift;
shift += 7;
} while ((b & 0x80) != 0);
return result;
}