Class AbstractBackedByteData
- java.lang.Object
-
- org.benf.cfr.reader.util.bytestream.AbstractBackedByteData
-
- All Implemented Interfaces:
ByteData
- Direct Known Subclasses:
BaseByteData
,OffsetBackedByteData
,OffsettingBackedByteData
public abstract class AbstractBackedByteData extends java.lang.Object implements ByteData
-
-
Constructor Summary
Constructors Constructor Description AbstractBackedByteData()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description double
getDoubleAt(long o)
float
getFloatAt(long o)
long
getLongAt(long o)
short
getS2At(long o)
int
getS4At(long o)
short
getU1At(long o)
int
getU2At(long o)
(package private) abstract java.io.DataInputStream
rawDataAsStream(int offset, int length)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.benf.cfr.reader.util.bytestream.ByteData
getBytesAt, getOffsetData, getOffsettingOffsetData, getS1At
-
-
-
-
Method Detail
-
rawDataAsStream
abstract java.io.DataInputStream rawDataAsStream(int offset, int length)
-
getS4At
public int getS4At(long o) throws ConfusedCFRException
- Specified by:
getS4At
in interfaceByteData
- Throws:
ConfusedCFRException
-
getDoubleAt
public double getDoubleAt(long o) throws ConfusedCFRException
- Specified by:
getDoubleAt
in interfaceByteData
- Throws:
ConfusedCFRException
-
getFloatAt
public float getFloatAt(long o) throws ConfusedCFRException
- Specified by:
getFloatAt
in interfaceByteData
- Throws:
ConfusedCFRException
-
getLongAt
public long getLongAt(long o) throws ConfusedCFRException
- Specified by:
getLongAt
in interfaceByteData
- Throws:
ConfusedCFRException
-
getS2At
public short getS2At(long o) throws ConfusedCFRException
- Specified by:
getS2At
in interfaceByteData
- Throws:
ConfusedCFRException
-
getU2At
public int getU2At(long o) throws ConfusedCFRException
- Specified by:
getU2At
in interfaceByteData
- Throws:
ConfusedCFRException
-
getU1At
public short getU1At(long o) throws ConfusedCFRException
- Specified by:
getU1At
in interfaceByteData
- Throws:
ConfusedCFRException
-
-