public static class IntelHexFile.CodeSegment extends Object
Modifier and Type | Field and Description |
---|---|
protected ByteArrayOutputStream |
baos |
byte[] |
data |
long |
endAddress |
static Comparator<IntelHexFile.CodeSegment> |
ORDER_BY_START_ADDRESS |
long |
startAddress |
Constructor and Description |
---|
CodeSegment(long startAddress) |
Modifier and Type | Method and Description |
---|---|
void |
appendCode(byte[] data) |
void |
endCodeWrite() |
byte[] |
getCodePiece(int offset,
int _length) |
boolean |
isMiddleOf(long addr) |
public static final Comparator<IntelHexFile.CodeSegment> ORDER_BY_START_ADDRESS
public long startAddress
public long endAddress
public byte[] data
protected ByteArrayOutputStream baos
public void appendCode(byte[] data) throws IOException
IOException
public boolean isMiddleOf(long addr)
public void endCodeWrite()
public byte[] getCodePiece(int offset, int _length)
Copyright © 2020. All rights reserved.