parameters: (b: bytearray)
return_statement: return r
docstring: Decode the unsigned leb128 encoded bytearray
docstring_summary: Decode the unsigned leb128 encoded bytearray
docstring_tokens: Decode the unsigned leb128 encoded bytearray
function: def decode(b: bytearray) -> int:
          """Decode the unsigned leb128 encoded bytearray"""
          r = 0
          for i, e in enumerate(b):
              r = r + ((e & 0x7f) << (i * 7))
          return r
function_tokens: def decode ( b : bytearray ) -> int : r = 0 for i , e in enumerate ( b ) : r = r + ( ( e & 0x7f ) << ( i * 7 ) ) return r