Exemplo n.º 1
0
        public override void Parse(TreeBuilder tree)
        {
            tree.ReadByte("Compression Algorithm", CompressionAlgorithmTypes.Get);
            tree.SkipBytes("Compressed Data");

            ThisBlock = tree.CurrentBlock;
            ThisBlock.ProcessBlock += ExtractData;
        }
Exemplo n.º 2
0
        public override void Parse(TreeBuilder tree)
        {
            Version = tree.ReadByte("Version");

            var block = tree.SkipBytes("Encrypted Data");

            block.ProcessBlock += ExtractData;
            ThisBlock           = block;
        }