C# Class iTextFilters.ByteDecoder

Mostra file Open project: dzzie/pdfstreamdumper Class Usage Examples

Public Methods

Method Description
ASCII85Decode ( byte inp ) : byte[]
ASCIIHexDecode ( byte inp ) : byte[]
DecodePredictor ( byte inp, int predictor, int columns, int colorss, int bitspercomponent ) : byte[]
FaxDecode ( byte src, int columns, int rows, int k, int encodedByteAlign, int blackIs1 ) : byte[]
FlateDecode ( byte inp, bool strict ) : byte[]
LzwDecode ( byte data ) : byte[]
RunLengthDecode ( byte data ) : byte[]

Private Methods

Method Description
GetHex ( int v ) : int
IsWhitespace ( int ch ) : bool

Method Details

ASCII85Decode() public static method

public static ASCII85Decode ( byte inp ) : byte[]
inp byte
return byte[]

ASCIIHexDecode() public static method

public static ASCIIHexDecode ( byte inp ) : byte[]
inp byte
return byte[]

DecodePredictor() public static method

public static DecodePredictor ( byte inp, int predictor, int columns, int colorss, int bitspercomponent ) : byte[]
inp byte
predictor int
columns int
colorss int
bitspercomponent int
return byte[]

FaxDecode() public static method

public static FaxDecode ( byte src, int columns, int rows, int k, int encodedByteAlign, int blackIs1 ) : byte[]
src byte
columns int
rows int
k int
encodedByteAlign int
blackIs1 int
return byte[]

FlateDecode() public static method

public static FlateDecode ( byte inp, bool strict ) : byte[]
inp byte
strict bool
return byte[]

LzwDecode() public static method

public static LzwDecode ( byte data ) : byte[]
data byte
return byte[]

RunLengthDecode() public static method

public static RunLengthDecode ( byte data ) : byte[]
data byte
return byte[]