Class HuffmanNode
java.lang.Object
org.web3d.vrml.export.compressors.HuffmanNode
Prototype Huffman node. Borrowed original impl from Sun HuffmanNode, need to decide
if copyright still stands for heavily modified code.
- Version:
- $Revision: 1.2 $
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected HuffmanNode
protected HuffmanNode
protected int
int
int
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
tag
public int tag -
tagLength
public int tagLength -
frequency
protected int frequency -
child0
-
child1
-
-
Constructor Details
-
HuffmanNode
public HuffmanNode()
-
-
Method Details
-
addCount
public void addCount() -
writeData
Write the data for this node out to a stream.- Parameters:
packer
- The place to write the bitslen
- The number of bits to use- Throws:
IOException
-
toString
-