C# Class dotGit.Objects.GitObjectReader

Inheritance: System.IO.BinaryReader
Datei anzeigen Open project: schacon/dotgit Class Usage Examples

Public Methods

Method Description
GetString ( int numberOfBytes ) : string
GitObjectReader ( Stream stream ) : System
GitObjectReader ( byte contents ) : System
ReadLine ( ) : byte[]
ReadObjectHeader ( ObjectType &type ) : long
ReadToChar ( char stop, bool consume ) : byte[]
ReadToEnd ( ) : byte[]
ReadToNextNonNull ( ) : byte[]
ReadToNull ( ) : byte[]
ReadWord ( ) : byte[]
ReadWord ( bool consumeSpace ) : byte[]
Rewind ( ) : void
SkipChars ( char charToSkip ) : byte[]

Method Details

GetString() public method

public GetString ( int numberOfBytes ) : string
numberOfBytes int
return string

GitObjectReader() public method

public GitObjectReader ( Stream stream ) : System
stream Stream
return System

GitObjectReader() public method

public GitObjectReader ( byte contents ) : System
contents byte
return System

ReadLine() public method

public ReadLine ( ) : byte[]
return byte[]

ReadObjectHeader() public method

public ReadObjectHeader ( ObjectType &type ) : long
type ObjectType
return long

ReadToChar() public method

public ReadToChar ( char stop, bool consume ) : byte[]
stop char
consume bool
return byte[]

ReadToEnd() public method

public ReadToEnd ( ) : byte[]
return byte[]

ReadToNextNonNull() public method

public ReadToNextNonNull ( ) : byte[]
return byte[]

ReadToNull() public method

public ReadToNull ( ) : byte[]
return byte[]

ReadWord() public method

public ReadWord ( ) : byte[]
return byte[]

ReadWord() public method

public ReadWord ( bool consumeSpace ) : byte[]
consumeSpace bool
return byte[]

Rewind() public method

public Rewind ( ) : void
return void

SkipChars() public method

public SkipChars ( char charToSkip ) : byte[]
charToSkip char
return byte[]