ComponentAce.Compression.Libs.ZLib.Deflate.tr_init C# (CSharp) Method

tr_init() private method

Initialize the tree data structures for a new zlib stream.
private tr_init ( ) : void
return void
        private void tr_init()
        {

            l_desc.DynTree = dyn_ltree;
            l_desc.StatDesc = StaticTree.static_l_desc;

            d_desc.DynTree = dyn_dtree;
            d_desc.StatDesc = StaticTree.static_d_desc;

            bl_desc.DynTree = bl_tree;
            bl_desc.StatDesc = StaticTree.static_bl_desc;

            bi_buf = 0;
            bi_valid = 0;
            last_eob_len = 8; // enough lookahead for inflate

            // Initialize the first block of the first file:
            init_block();
        }