private int unpackNextValue(InputStream input) throws IOException {
		int unpacked = 0;
		while (true) {
			unpacked <<= 7;
			int value = input.read();
			unpacked += (value & 0x7f);
			if ((value & 0x80) == 0x00) {
				break;
			}
		}
		return unpacked;
	}
Unpack the data in a packed section.
Calling this method is only valid on a packed section.
@param monitor the task monitor
@return the unpacked data
@throws IOException if an i/o error occurs or the section is not packed.
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/pef/SectionHeader.java