Class TCodeTable (unit GifDecl)

Inherits from

TObject

TByteBuffer

Constructors



Functions

procedure AddEntry(NewPrefix, NewSuffix: Integer);

index where next string will be stored

TCodeTable.


procedure Clear(StartingCodeSize: Byte);

**** methods of TCodeTable

function IsInTable(PixelString: TByteBuffer; var PrevFoundIndex, FoundIndex: Integer): Boolean;

TCodeTable.

Properties

Events

Variables

CodeSize : Byte;


FirstSlot : Word;


NextSlot : Word;


Prefix : Array[1..CodeTableSize] of Word;


Suffix : Array[1..CodeTableSize] of Word;


TableFull : Boolean;

number of bits necessary to encode


Constructors


Functions


procedure AddEntry(NewPrefix, NewSuffix: Integer);

index where next string will be stored

TCodeTable.Clear


procedure Clear(StartingCodeSize: Byte);

**** methods of TCodeTable


function IsInTable(PixelString: TByteBuffer; var PrevFoundIndex, FoundIndex: Integer): Boolean;

TCodeTable.AddEntry


Properties


Events


Variables


CodeSize : Byte;


FirstSlot : Word;


NextSlot : Word;


Prefix : Array[1..CodeTableSize] of Word;


Suffix : Array[1..CodeTableSize] of Word;


TableFull : Boolean;

number of bits necessary to encode