C# Class 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
Inheritance: Stream
ファイルを表示 Open project: stschake/GitSharp Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
doProgressLine ( string msg ) : bool
needDataPacket ( ) : void
progress ( string pkt ) : void
readString ( int len ) : string

Method Details

Flush() public method

public Flush ( ) : void
return void

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

ReadByte() public method

public ReadByte ( ) : int
return int

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

public SetLength ( long value ) : void
value long
return void

SideBandInputStream() public method

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

Write() public method

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