Package org.eclipse.cdt.utils.coff
Class ReadMemoryAccess
- java.lang.Object
-
- org.eclipse.cdt.utils.coff.ReadMemoryAccess
-
public class ReadMemoryAccess extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ReadMemoryAccess(byte[] octets)ReadMemoryAccess(byte[] octets, boolean le)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description bytegetByte()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()longgetLongBE()longgetLongBE(byte[] b)longgetLongBE(int offset)longgetLongLE()longgetLongLE(byte[] b)longgetLongLE(int offset)shortgetShort()shortgetShortBE()static shortgetShortBE(byte[] b)shortgetShortBE(int offset)shortgetShortLE()static shortgetShortLE(byte[] b)shortgetShortLE(int offset)intgetSize()shortgetUnsignedByte()shortgetUnsignedByte(int offset)longgetUnsignedIntBE()static longgetUnsignedIntBE(byte[] b)longgetUnsignedIntBE(int offset)longgetUnsignedIntLE()static longgetUnsignedIntLE(byte[] b)longgetUnsignedIntLE(int offset)intgetUnsignedShort()intgetUnsignedShortBE()static intgetUnsignedShortBE(byte[] b)intgetUnsignedShortBE(int offset)intgetUnsignedShortLE()static intgetUnsignedShortLE(byte[] b)intgetUnsignedShortLE(int offset)
-
-
-
Method Detail
-
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)
-
-