コード例 #1
0
        public static byte[] Decompress(byte[] data)
        {
            var container = new CompressedContainer(data);
            var buffer    = new DecompressedBuffer(container);

            return(buffer.Data);
        }
コード例 #2
0
 internal DecompressedBuffer(CompressedContainer container)
 {
     foreach (var chunk in container.CompressedChunks)
     {
         DecompressedChunks.Add(new DecompressedChunk(chunk));
     }
 }
コード例 #3
0
        public static byte[] Compress(byte[] data)
        {
            var buffer    = new DecompressedBuffer(data);
            var container = new CompressedContainer(buffer);

            return(container.SerializeData());
        }