C# Класс 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).
Наследование: Sharpen.InputStream
Показать файл Открыть проект Примеры использования класса

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

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

Приватные методы

Метод Описание
FillBuffer ( ) : bool

Описание методов

Close() публичный Метод

public Close ( ) : void
Результат void

EolCanonicalizingInputStream() публичный Метод

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
Результат NGit.Diff

Read() публичный Метод

public Read ( ) : int
Результат int

Read() публичный Метод

public Read ( byte bs, int off, int len ) : int
bs byte
off int
len int
Результат int