htsjdk.samtools.cram.encoding.reader
public static class DataReaderFactory.DataReaderWithStats<T> extends java.lang.Object implements DataReader<T>
Modifier and Type | Field and Description |
---|---|
long |
nanos |
Constructor and Description |
---|
DataReaderFactory.DataReaderWithStats(DataReader<T> delegate) |
Modifier and Type | Method and Description |
---|---|
void |
readByteArrayInto(byte[] dest,
int offset,
int len) |
T |
readData() |
T |
readDataArray(int len) |
void |
skip() |
public DataReaderFactory.DataReaderWithStats(DataReader<T> delegate)
public T readData() throws java.io.IOException
readData
in interface DataReader<T>
java.io.IOException
public T readDataArray(int len) throws java.io.IOException
readDataArray
in interface DataReader<T>
java.io.IOException
public void skip() throws java.io.IOException
skip
in interface DataReader<T>
java.io.IOException
public void readByteArrayInto(byte[] dest, int offset, int len) throws java.io.IOException
readByteArrayInto
in interface DataReader<T>
java.io.IOException