\FilterLZW

Summary

Methods
Properties
Constants
error()
decode()
initsTable()
addStringToTable()
getNextCode()
encode()
$sTable
$data
$dataLength
$tIdx
$bitsToGet
$bytePointer
$bitPointer
$nextData
$nextBits
$andTable
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$sTable

$sTable

$data

$data

$dataLength

$dataLength

$tIdx

$tIdx

$bitsToGet

$bitsToGet

$bytePointer

$bytePointer

$bitPointer

$bitPointer

$nextData

$nextData

$nextBits

$nextBits

$andTable

$andTable

Methods

error()

error( $msg)

Parameters

$msg

decode()

decode( $data)

Method to decode LZW compressed data.

Parameters

$data

initsTable()

initsTable()

Initialize the string table.

addStringToTable()

addStringToTable( $oldString,  $newString)

Add a new string to the string table.

Parameters

$oldString
$newString

getNextCode()

getNextCode()

encode()

encode( $in)

Parameters

$in