public static byte[] decompressBlock(BinaryReader reader, int compressionType,
			TaskMonitor monitor) throws IOException, CancelledException {

		SquashMetablock header = new SquashMetablock(reader);

		// Only perform decompression if the block is compressed
		if (header.isCompressed()) {
			return decompressBytes(reader, header.getBlockSize(), compressionType, monitor);
		}

		return reader.readNextByteArray(header.getBlockSize());
	}
Decompress a metablock into a byte array
@param reader The BinaryReader pointed to the start of the section
@param compressionType The compression type if the archive
@param monitor Monitor to allow the user to cancel the load
@return A BinaryReader containing ONLY the uncompressed bytes of the section
@throws IOException Any read operation failure
@throws CancelledException Archive load was cancelled
Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/squashfs/SquashUtils.java