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
Afficher le fichier Open project: stschake/GitSharp Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
doProgressLine ( string msg ) : bool
needDataPacket ( ) : void
progress ( string pkt ) : void
readString ( int len ) : string

Method Details

Flush() public méthode

public Flush ( ) : void
Résultat void

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

ReadByte() public méthode

public ReadByte ( ) : int
Résultat int

Seek() public méthode

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

SetLength() public méthode

public SetLength ( long value ) : void
value long
Résultat void

SideBandInputStream() public méthode

public SideBandInputStream ( PacketLineIn aPckIn, Stream aIns, ProgressMonitor aProgress ) : System
aPckIn PacketLineIn
aIns Stream
aProgress ProgressMonitor
Résultat System

Write() public méthode

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void