public static PackedDecode buildDecoder(ResourceFile sleighFile) throws IOException {
		InputStream stream = sleighFile.getInputStream();
		try {
			if (!isSlaFormat(stream)) {
				throw new IOException("Missing SLA format header");
			}
			InflaterInputStream inflaterStream = new InflaterInputStream(stream);
			PackedDecode decoder = new PackedDecode();
			decoder.open(MAX_FILE_SIZE, ".sla file loader");
			decoder.ingestStream(inflaterStream);
			decoder.endIngest();
			inflaterStream.close();
			return decoder;
		}
		finally {
			stream.close();
		}
	}
Build the decoder for decompressing and decoding the .sla file (as a stream).
The given file is opened and the header bytes are checked.  The returned
decoder is immediately ready to read.
@param sleighFile is the given .sla file
@return the decoder
@throws IOException if the header is invalid or there are problems reading the file
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/pcode/utils/SlaFormat.java