/// <summary> /// Decompresses the given data /// </summary> /// <param name="CompressedData">Byte array of the compressed data</param> /// <returns>A byte array containing the uncompressed data</returns> public static Byte[] Decompress(byte[] CompressedData) { if (CompressedData == null) { throw new ArgumentNullException("CompressedData"); } var reader = new XlBinaryReader(ref CompressedData); reader.OutputAllAsBinary(); var container = new CompressedContainer(reader); var buffer = new DecompressedBuffer(); container.Decompress(buffer); Byte[] UncompressedCompressedData = buffer.GetData(); return(UncompressedCompressedData); }
public static void Decompress(DecompressedBuffer outputBuffer, CompressedContainer container) { }