I have released my public domain implementations of the Huffman compression algorithm. I wrote them to add compression to the file formats in Sphere, but they are available free-of-charge to anyone who would like to use them in his or her project.