@Override
	public int openElement(ElementId elemId) throws DecoderException {
		int id = openElement();
		if (id != elemId.id()) {
			if (id == 0) {
				throw new DecoderException(
					"Expecting <" + elemId.name() + "> but did not scan an element");
			}
			throw new DecoderException("Expecting <" + elemId.name() + "> but id did not match");
		}
		return id;
	}
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