コード例 #1
0
ファイル: Deflate.cs プロジェクト: Celderon/oxyplot
 /// <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();
 }
コード例 #2
0
        /// <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());
        }