public class DebuggerUtilities
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected long |
addressSize |
protected boolean |
isBigEndian |
Constructor and Description |
---|
DebuggerUtilities(long addressSize,
boolean isBigEndian) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
addressValueToString(long address) |
int |
charToNibble(char ascii) |
void |
checkAlignment(long address,
long alignment) |
byte[] |
cIntegerToData(long longNumBytes,
long value) |
long |
dataToAddressValue(byte[] data) |
long |
dataToCInteger(byte[] data,
boolean isUnsigned) |
boolean |
dataToJBoolean(byte[] data,
long jbooleanSize) |
byte |
dataToJByte(byte[] data,
long jbyteSize) |
char |
dataToJChar(byte[] data,
long jcharSize) |
double |
dataToJDouble(byte[] data,
long jdoubleSize) |
float |
dataToJFloat(byte[] data,
long jfloatSize) |
int |
dataToJInt(byte[] data,
long jintSize) |
long |
dataToJLong(byte[] data,
long jlongSize) |
short |
dataToJShort(byte[] data,
long jshortSize) |
byte[] |
jbooleanToData(boolean value) |
byte[] |
jbyteToData(byte value) |
byte[] |
jcharToData(char value) |
byte[] |
jdoubleToData(double value) |
byte[] |
jfloatToData(float value) |
byte[] |
jintToData(int value) |
byte[] |
jlongToData(long value) |
byte[] |
jshortToData(short value) |
long |
scanAddress(java.lang.String addrStr) |
public DebuggerUtilities(long addressSize, boolean isBigEndian)
public java.lang.String addressValueToString(long address)
public void checkAlignment(long address, long alignment)
public long scanAddress(java.lang.String addrStr) throws java.lang.NumberFormatException
java.lang.NumberFormatException
public int charToNibble(char ascii) throws java.lang.NumberFormatException
java.lang.NumberFormatException
public boolean dataToJBoolean(byte[] data, long jbooleanSize)
public byte dataToJByte(byte[] data, long jbyteSize)
public char dataToJChar(byte[] data, long jcharSize)
public double dataToJDouble(byte[] data, long jdoubleSize)
public float dataToJFloat(byte[] data, long jfloatSize)
public int dataToJInt(byte[] data, long jintSize)
public long dataToJLong(byte[] data, long jlongSize)
public short dataToJShort(byte[] data, long jshortSize)
public long dataToCInteger(byte[] data, boolean isUnsigned)
public long dataToAddressValue(byte[] data)
public byte[] jbooleanToData(boolean value)
public byte[] jbyteToData(byte value)
public byte[] jcharToData(char value)
public byte[] jdoubleToData(double value)
public byte[] jfloatToData(float value)
public byte[] jintToData(int value)
public byte[] jlongToData(long value)
public byte[] jshortToData(short value)
public byte[] cIntegerToData(long longNumBytes, long value)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.