C# Class GitSharp.Core.Transport.PacketLineOut

Write Git style pkt-line formatting to an output stream. This class is not thread safe and may issue multiple writes to the underlying stream for each method call made. This class performs no buffering on its own. This makes it suitable to interleave writes performed by this class with writes performed directly against the underlying OutputStream.
Afficher le fichier Open project: stschake/GitSharp Class Usage Examples

Méthodes publiques

Méthode Description
End ( ) : void
Flush ( ) : void
PacketLineOut ( Stream i ) : System
WriteChannelPacket ( int channel, byte buf, int off, int len ) : void
WritePacket ( byte packet ) : void
WriteString ( string s ) : void

Private Methods

Méthode Description
formatLength ( int w ) : void

Method Details

End() public méthode

public End ( ) : void
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

PacketLineOut() public méthode

public PacketLineOut ( Stream i ) : System
i System.IO.Stream
Résultat System

WriteChannelPacket() public méthode

public WriteChannelPacket ( int channel, byte buf, int off, int len ) : void
channel int
buf byte
off int
len int
Résultat void

WritePacket() public méthode

public WritePacket ( byte packet ) : void
packet byte
Résultat void

WriteString() public méthode

public WriteString ( string s ) : void
s string
Résultat void