# Functions
LEB128 decoding algorithm taken from page 218 of "DWARF4 Standard", figure 47
returns decoded value and the number of bytes consumed from the encoded array.
ULEB128 decoding algorithm taken from page 218 of "DWARF4 Standard", figure 46
returns decoded value and the number of bytes consumed from the encoded array.