@Override
	public void closeElementSkipping(int id) throws DecoderException {
		ArrayList<Integer> idstack = new ArrayList<>();
		idstack.add(id);
		do {
			int header1 = endPos.getByte() & HEADER_MASK;
			if (header1 == ELEMENT_END) {
				int pos = idstack.size() - 1;
				closeElement(idstack.get(pos));
				idstack.remove(pos);
			}
			else if (header1 == ELEMENT_START) {
				idstack.add(openElement());
			}
			else {
				throw new DecoderException("Corrupt stream");
			}
		}
		while (!idstack.isEmpty());
	}
Close stream cached by the ingestStreamAsNeeded method.
@throws IOException for low-level problems with the stream
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/pcode/PackedDecode.java