readVariableWidthInt method
Implementation
Future<int> readVariableWidthInt() async {
var c = await readByte();
var v = (c & _maskLength);
while (c & _maskContinue > 0) {
v++;
c = await readByte();
v = (v << _lengthBits) + (c & _maskLength);
}
return v;
}