Package org.eclipse.cdt.utils.coff
Class ReadMemoryAccess
java.lang.Object
org.eclipse.cdt.utils.coff.ReadMemoryAccess
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbytegetByte()bytegetByte(int offset) voidgetBytes(byte[] octets) voidgetBytes(byte[] octets, int offset) voidgetBytes(byte[] octets, int offset, int length) intgetInt()intgetIntBE()static intgetIntBE(byte[] b) intgetIntBE(int offset) intgetIntLE()static intgetIntLE(byte[] b) intgetIntLE(int offset) longgetLong()longlonggetLongBE(byte[] b) longgetLongBE(int offset) longlonggetLongLE(byte[] b) longgetLongLE(int offset) shortgetShort()shortstatic shortgetShortBE(byte[] b) shortgetShortBE(int offset) shortstatic shortgetShortLE(byte[] b) shortgetShortLE(int offset) intgetSize()shortshortgetUnsignedByte(int offset) longstatic longgetUnsignedIntBE(byte[] b) longgetUnsignedIntBE(int offset) longstatic longgetUnsignedIntLE(byte[] b) longgetUnsignedIntLE(int offset) intintstatic intgetUnsignedShortBE(byte[] b) intgetUnsignedShortBE(int offset) intstatic intgetUnsignedShortLE(byte[] b) intgetUnsignedShortLE(int offset)
-
Constructor Details
-
ReadMemoryAccess
public ReadMemoryAccess(byte[] octets) -
ReadMemoryAccess
public ReadMemoryAccess(byte[] octets, boolean le)
-
-
Method Details
-
getSize
public int getSize() -
getBytes
public void getBytes(byte[] octets) -
getBytes
public void getBytes(byte[] octets, int offset) -
getBytes
public void getBytes(byte[] octets, int offset, int length) -
getByte
public byte getByte() -
getUnsignedByte
public short getUnsignedByte() -
getByte
public byte getByte(int offset) -
getUnsignedByte
public short getUnsignedByte(int offset) -
getShort
public short getShort() -
getUnsignedShort
public int getUnsignedShort() -
getShortLE
public short getShortLE() -
getUnsignedShortLE
public int getUnsignedShortLE() -
getShortLE
public short getShortLE(int offset) -
getShortLE
public static short getShortLE(byte[] b) -
getUnsignedShortLE
public int getUnsignedShortLE(int offset) -
getUnsignedShortLE
public static int getUnsignedShortLE(byte[] b) -
getShortBE
public short getShortBE() -
getUnsignedShortBE
public int getUnsignedShortBE() -
getShortBE
public short getShortBE(int offset) -
getShortBE
public static short getShortBE(byte[] b) -
getUnsignedShortBE
public int getUnsignedShortBE(int offset) -
getUnsignedShortBE
public static int getUnsignedShortBE(byte[] b) -
getInt
public int getInt() -
getIntLE
public int getIntLE() -
getUnsignedIntLE
public long getUnsignedIntLE() -
getUnsignedIntLE
public long getUnsignedIntLE(int offset) -
getUnsignedIntLE
public static long getUnsignedIntLE(byte[] b) -
getIntLE
public int getIntLE(int offset) -
getIntLE
public static int getIntLE(byte[] b) -
getIntBE
public int getIntBE() -
getUnsignedIntBE
public long getUnsignedIntBE() -
getIntBE
public int getIntBE(int offset) -
getIntBE
public static int getIntBE(byte[] b) -
getUnsignedIntBE
public long getUnsignedIntBE(int offset) -
getUnsignedIntBE
public static long getUnsignedIntBE(byte[] b) -
getLong
public long getLong() -
getLongLE
public long getLongLE() -
getLongLE
public long getLongLE(int offset) -
getLongLE
public long getLongLE(byte[] b) -
getLongBE
public long getLongBE() -
getLongBE
public long getLongBE(int offset) -
getLongBE
public long getLongBE(byte[] b)
-