public bool setHuff() { bool answer = false; if (comp == null || comp.GetType() != typeof(HuffmanCompressor)) { comp = new HuffmanCompressor(); } if (comp != null) { answer = true; } return(answer); }
public Compressor() { comp = null; }