C# 클래스 ICSharpCode.SharpZipLib.Zip.Compression.DeflaterHuffman

파일 보기 프로젝트 열기: icsharpcode/SharpZipLib 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
pending DeflaterPending

공개 메소드들

메소드 설명
BitReverse ( int toReverse ) : short

Reverse the bits of a 16 bit value.

CompressBlock ( ) : void

Compress current buffer writing data to pending buffer

DeflaterHuffman ( DeflaterPending pending ) : System

Construct instance with pending buffer

FlushBlock ( byte stored, int storedOffset, int storedLength, bool lastBlock ) : void

Flush block to output with compression

FlushStoredBlock ( byte stored, int storedOffset, int storedLength, bool lastBlock ) : void

Flush block to output with no compression

IsFull ( ) : bool

Get value indicating if internal buffer is full

Reset ( ) : void

Reset internal state

SendAllTrees ( int blTreeCodes ) : void

Write all trees to pending buffer

TallyDist ( int distance, int length ) : bool

Add distance code and length to literal and distance trees

TallyLit ( int literal ) : bool

Add literal to buffer

비공개 메소드들

메소드 설명
Dcode ( int distance ) : int
DeflaterHuffman ( ) : System
Lcode ( int length ) : int

메소드 상세

BitReverse() 공개 정적인 메소드

Reverse the bits of a 16 bit value.
public static BitReverse ( int toReverse ) : short
toReverse int Value to reverse bits
리턴 short

CompressBlock() 공개 메소드

Compress current buffer writing data to pending buffer
public CompressBlock ( ) : void
리턴 void

DeflaterHuffman() 공개 메소드

Construct instance with pending buffer
public DeflaterHuffman ( DeflaterPending pending ) : System
pending DeflaterPending Pending buffer to use
리턴 System

FlushBlock() 공개 메소드

Flush block to output with compression
public FlushBlock ( byte stored, int storedOffset, int storedLength, bool lastBlock ) : void
stored byte Data to flush
storedOffset int Index of first byte to flush
storedLength int Count of bytes to flush
lastBlock bool True if this is the last block
리턴 void

FlushStoredBlock() 공개 메소드

Flush block to output with no compression
public FlushStoredBlock ( byte stored, int storedOffset, int storedLength, bool lastBlock ) : void
stored byte Data to write
storedOffset int Index of first byte to write
storedLength int Count of bytes to write
lastBlock bool True if this is the last block
리턴 void

IsFull() 공개 메소드

Get value indicating if internal buffer is full
public IsFull ( ) : bool
리턴 bool

Reset() 공개 메소드

Reset internal state
public Reset ( ) : void
리턴 void

SendAllTrees() 공개 메소드

Write all trees to pending buffer
public SendAllTrees ( int blTreeCodes ) : void
blTreeCodes int The number/rank of treecodes to send.
리턴 void

TallyDist() 공개 메소드

Add distance code and length to literal and distance trees
public TallyDist ( int distance, int length ) : bool
distance int Distance code
length int Length
리턴 bool

TallyLit() 공개 메소드

Add literal to buffer
public TallyLit ( int literal ) : bool
literal int Literal value to add to buffer.
리턴 bool

프로퍼티 상세

pending 공개적으로 프로퍼티

Pending buffer to use
public DeflaterPending,ICSharpCode.SharpZipLib.Zip.Compression pending
리턴 DeflaterPending