public class BINTOHEX extends BINTOx
| Constructor and Description |
|---|
BINTOHEX(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
generateResult(java.lang.Object data)
Generate the final result given data structure, updated for each byte.
|
java.lang.Object |
initData(int numberOfBits)
Initialize the data structure which will be updated for each decoded byte.
|
void |
updateData(java.lang.Object data,
int byteIndex,
byte currentByte)
Update the data structure for a given byte at given byte index.
|
getName, refSnapshot, setName, toStringpublic java.lang.Object initData(int numberOfBits)
BINTOxpublic void updateData(java.lang.Object data,
int byteIndex,
byte currentByte)
BINTOxupdateData in class BINTOxdata - The data structure to be updated.byteIndex - The index of the byte to update.currentByte - The value of the decoded byte.public java.lang.Object generateResult(java.lang.Object data)
BINTOxgenerateResult in class BINTOxdata - The initialized and updated data structure.