C# Class NGit.Patch.BinaryHunk

Part of a "GIT binary patch" to describe the pre-image or post-image
Mostra file Open project: red-gate/ngit Class Usage Examples

Public Methods

Method Description
GetBuffer ( ) : byte[]
GetEndOffset ( ) : int
GetFileHeader ( ) : NGit.Patch.FileHeader
GetSize ( ) : int
GetStartOffset ( ) : int
GetType ( ) : BinaryHunk.Type

Private Methods

Method Description
BinaryHunk ( NGit.Patch.FileHeader fh, int offset ) : NGit
ParseHunk ( int ptr, int end ) : int

Method Details

GetBuffer() public method

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

GetEndOffset() public method

public GetEndOffset ( ) : int
return int

GetFileHeader() public method

public GetFileHeader ( ) : NGit.Patch.FileHeader
return NGit.Patch.FileHeader

GetSize() public method

public GetSize ( ) : int
return int

GetStartOffset() public method

public GetStartOffset ( ) : int
return int

GetType() public method

public GetType ( ) : BinaryHunk.Type
return BinaryHunk.Type