docs: def load_vint(buf, pos):
      """Load variable-size int."""
      limit = min(pos + 11, len(buf))
      res = ofs = 0
      while pos < limit:
          b = _byte_code(buf[pos])
          res += ((b & 0x7F) << ofs)
          pos += 1
          ofs += 7
          if b < 0x80:
              return res, pos
      raise BadRarFile('cannot load vint')