C# Class NGit.Util.IO.EolCanonicalizingInputStream

An input stream which canonicalizes EOLs bytes on the fly to '\n'.
An input stream which canonicalizes EOLs bytes on the fly to '\n'. Optionally, a binary check on the first 8000 bytes is performed and in case of binary files, canonicalization is turned off (for the complete file).
Inheritance: Sharpen.InputStream
Afficher le fichier Open project: red-gate/ngit Class Usage Examples

Méthodes publiques

Méthode Description
Close ( ) : void
EolCanonicalizingInputStream ( InputStream @in, bool detectBinary ) : NGit.Diff

Creates a new InputStream, wrapping the specified stream

Read ( ) : int
Read ( byte bs, int off, int len ) : int

Private Methods

Méthode Description
FillBuffer ( ) : bool

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

EolCanonicalizingInputStream() public méthode

Creates a new InputStream, wrapping the specified stream
public EolCanonicalizingInputStream ( InputStream @in, bool detectBinary ) : NGit.Diff
@in Sharpen.InputStream
detectBinary bool whether binaries should be detected
Résultat NGit.Diff

Read() public méthode

public Read ( ) : int
Résultat int

Read() public méthode

public Read ( byte bs, int off, int len ) : int
bs byte
off int
len int
Résultat int