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
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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