Class BaseByteData
- java.lang.Object
-
- org.benf.cfr.reader.util.bytestream.AbstractBackedByteData
-
- org.benf.cfr.reader.util.bytestream.BaseByteData
-
- All Implemented Interfaces:
ByteData
public class BaseByteData extends AbstractBackedByteData
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]
data
-
Constructor Summary
Constructors Constructor Description BaseByteData(byte[] data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBytesAt(int count, long offset)
ByteData
getOffsetData(long offset)
OffsettingByteData
getOffsettingOffsetData(long offset)
byte
getS1At(long o)
java.io.DataInputStream
rawDataAsStream(int start, int len)
-
Methods inherited from class org.benf.cfr.reader.util.bytestream.AbstractBackedByteData
getDoubleAt, getFloatAt, getLongAt, getS2At, getS4At, getU1At, getU2At
-
-
-
-
Method Detail
-
rawDataAsStream
public java.io.DataInputStream rawDataAsStream(int start, int len)
- Specified by:
rawDataAsStream
in classAbstractBackedByteData
-
getOffsetData
public ByteData getOffsetData(long offset)
-
getOffsettingOffsetData
public OffsettingByteData getOffsettingOffsetData(long offset)
-
getBytesAt
public byte[] getBytesAt(int count, long offset)
-
getS1At
public byte getS1At(long o)
-
-