parameters: (file_obj)
return_statement: return result
docstring: Read a value using the unsigned, variable int encoding.
      file-obj is a NumpyIO of bytes; avoids struct to allow numba-jit
docstring_summary: Read a value using the unsigned, variable int encoding.
      file-obj is a NumpyIO of bytes; avoids struct to allow numba-jit
docstring_tokens: Read a value using the unsigned variable int encoding . file - obj is a NumpyIO of bytes ; avoids struct to allow numba - jit
function: def read_unsigned_var_int(file_obj):  # pragma: no cover
      """Read a value using the unsigned, variable int encoding.
      file-obj is a NumpyIO of bytes; avoids struct to allow numba-jit
      """
      result = 0
      shift = 0
      while True:
          byte = file_obj.read_byte()
          result |= ((byte & 0x7F) << shift)
          if (byte & 0x80) == 0:
              break
          shift += 7
      return result
function_tokens: def read_unsigned_var_int ( file_obj ) : # pragma: no cover result = 0 shift = 0 while True : byte = file_obj . read_byte ( ) result |= ( ( byte & 0x7F ) << shift ) if ( byte & 0x80 ) == 0 : break shift += 7 return result