public static long decode(byte[] bytes, int offset, boolean isSigned) throws IOException {
		InputStream is = new ByteArrayInputStream(bytes, offset, bytes.length - offset);
		return read(is, isSigned);
	}
Decodes a LEB128 number from a byte array and returns it as a long.
<p>
See {@link #read(InputStream, boolean)}

@param bytes the bytes representing the LEB128 number
@param offset offset in byte array of where to start reading bytes 
@param isSigned true if the value is signed
@return long integer value.  Caller must treat it as unsigned if isSigned parameter was
	       set to false
@throws IOException if array offset is invalid, decoded value is outside the range of a java
64 bit int (or it used more than {@value #MAX_SUPPORTED_LENGTH} bytes to be encoded), or 
the end of the array was reached before reaching the end of the encoded value
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/LEB128.java