getVaruint32 method
Get a varuint32
*/
Implementation
int getVaruint32() {
var v = 0;
var bit = 0;
while (true) {
var b = get();
v |= (b & 0x7f) << bit;
bit += 7;
if ((b & 0x80) == 0) {
break;
}
}
return v >> 0;
}