iText 5

LZWDecoder

LZWDecoder Public class

Diagram

flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text.pdf iTextSharp.text.pdf.LZWDecoder[[LZWDecoder]] end

Members

Properties

Public properties

Type

Name

Methods

int

NextCode

get

Methods

Public methods

Returns

Name

void

AddStringToTable

(...)

byte``[]

ComposeString

(byte``[] oldstring, byte newstring)

void

Decode

(byte``[] data, Stream uncompData)

void

InitializeStringTable

()

void

WriteString

(byte``[] str)

Details

Constructors

LZWDecoder

Source code

public LZWDecoder()

Methods

Decode

Source code

public virtual void Decode(byte[] data, Stream uncompData)

Arguments

Type

Name

Description

byte``[]

data

Stream

uncompData

InitializeStringTable

Source code

public virtual void InitializeStringTable()

WriteString

Source code

public virtual void WriteString(byte[] str)

Arguments

Type

Name

Description

byte``[]

str

AddStringToTable [1/2]

Source code

public virtual void AddStringToTable(byte[] oldstring, byte newstring)

Arguments

Type

Name

Description

byte``[]

oldstring

byte

newstring

AddStringToTable [2/2]

Source code

public virtual void AddStringToTable(byte[] str)

Arguments

Type

Name

Description

byte``[]

str

ComposeString

Source code

public virtual byte ComposeString(byte[] oldstring, byte newstring)

Arguments

Type

Name

Description

byte``[]

oldstring

byte

newstring

Properties

NextCode

public virtual int NextCode { get; }

Generated with ModularDoc