C# 클래스 GitSharp.Core.Transport.SideBandInputStream

Unmultiplexes the data portion of a side-band channel. Reading from this input stream obtains data from channel 1, which is typically the bulk data stream. Channel 2 is transparently unpacked and "scraped" to update a progress monitor. The scraping is performed behind the scenes as part of any of the read methods offered by this stream. Channel 3 results in an exception being thrown, as the remote side has issued an unrecoverable error. SideBandOutputStream
상속: Stream
파일 보기 프로젝트 열기: stschake/GitSharp 1 사용 예제들

공개 메소드들

메소드 설명
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
ReadByte ( ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
SideBandInputStream ( PacketLineIn aPckIn, Stream aIns, ProgressMonitor aProgress ) : System
Write ( byte buffer, int offset, int count ) : void

비공개 메소드들

메소드 설명
doProgressLine ( string msg ) : bool
needDataPacket ( ) : void
progress ( string pkt ) : void
readString ( int len ) : string

메소드 상세

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

Read() 공개 메소드

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
리턴 int

ReadByte() 공개 메소드

public ReadByte ( ) : int
리턴 int

Seek() 공개 메소드

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
리턴 long

SetLength() 공개 메소드

public SetLength ( long value ) : void
value long
리턴 void

SideBandInputStream() 공개 메소드

public SideBandInputStream ( PacketLineIn aPckIn, Stream aIns, ProgressMonitor aProgress ) : System
aPckIn PacketLineIn
aIns Stream
aProgress ProgressMonitor
리턴 System

Write() 공개 메소드

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
리턴 void