/// <summary> /// Decompresses the data from the specified <see cref="BitReader" />. /// </summary> /// <param name="input">The input.</param> /// <returns>An array of <see cref="byte" />.</returns> public static byte[] Decompress(BitReader input) { var decomp = new Deflate(input); return decomp.outputStream.ToArray(); }
/// <summary> /// Decompresses the data from the specified <see cref="BitReader" />. /// </summary> /// <param name="input">The input.</param> /// <returns>An array of <see cref="byte" />.</returns> public static byte[] Decompress(BitReader input) { var decomp = new Deflate(input); return(decomp.outputStream.ToArray()); }