BinaryTreeReader

This class builds the compression binary tree

package

Application

Methods

Constructor, creates a new instance of BinaryTreeReader class.

__construct() : mixed

Response

mixed

This method gets the head of the binary tree.

getTree() : mixed

Response

mixed

This method finds that decimal value for some number of bits in the table starting at location.

readTableValue(intbitDepth) : int

Arguments

bitDepth

int

Number of bits to read.

Response

int

The decimal value of the bits read.

This method sets values to the leafs in the compression binary tree.

writeTree(intbitDepth) : \com\scriptel\BinaryTree

Arguments

bitDepth

int

Response

\com\scriptel\BinaryTree

The compressed binary tree.

Constants

The compression table used to decompress signatures.

TABLE

Properties

Our current location in the binary tree.

location : int
var

Type(s)

int

The head node in the binary tree.

head : 
var

BinaryTree.