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
파일 보기 프로젝트 열기: red-gate/ngit 1 사용 예제들

공개 메소드들

메소드 설명
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