private static byte[] uleb128SizedByteArray(BinaryReader reader) throws IOException {
		int len = reader.readNextUnsignedVarIntExact(LEB128::unsigned);
		if (len > DWARFExpression.MAX_SANE_EXPR) {
			throw new IOException("Invalid DWARF exprloc size: %d".formatted(len));
		}
		return reader.readNextByteArray(len);
	}
Reader func that reads a uleb128-length prefixed byte array.

@param reader {@link BinaryReader} stream
@return byte array, length specified by the leading leb128 value
@throws IOException if error reading
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/DWARFLocationList.java