binmode might be required for portability.
In reply to (tye)Re: Huffman decoder by tye in thread Huffman decoder by BooK