public class BinaryHunk extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
BinaryHunk.Type
Type of information stored in a binary hunk. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
byte[] | 
getBuffer()
Get the byte array holding this hunk's patch script. 
 | 
int | 
getEndOffset()
Get offset one past the end of the hunk in  
getBuffer(). | 
FileHeader | 
getFileHeader()
Get header for the file this hunk applies to. 
 | 
int | 
getSize()
Get inflated size of this hunk's data. 
 | 
int | 
getStartOffset()
Get offset the start of this hunk in  
getBuffer(). | 
BinaryHunk.Type | 
getType()
Get type of this binary hunk. 
 | 
public FileHeader getFileHeader()
public byte[] getBuffer()
public int getStartOffset()
getBuffer().getBuffer().public int getEndOffset()
getBuffer().getBuffer().public BinaryHunk.Type getType()
public int getSize()
Copyright © 2018 Eclipse JGit Project. All rights reserved.