System.IO.Compression.HuffmanTree.HuffmanTree C# (CSharp) 메소드

HuffmanTree() 공개 메소드

public HuffmanTree ( byte codeLengths ) : System
codeLengths byte
리턴 System
        public HuffmanTree(byte[] codeLengths) {
            this.codeLengthArray = codeLengths;
            if (this.codeLengthArray.Length == 0x120) {
                this.tableBits = 9;
            }
            else {
                this.tableBits = 7;
            }
            this.tableMask = (((int)1) << this.tableBits) - 1;
            this.CreateTable();
        }