@NotThreadSafe public final class NettyDataReader extends Object implements DataReader
Modifier and Type | Class and Description |
---|---|
static class |
NettyDataReader.Factory
Factory class to create
NettyDataReader s. |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
pos() |
DataBuffer |
readChunk()
Reads a chunk.
|
public long pos()
pos
in interface DataReader
public DataBuffer readChunk() throws IOException
DataReader
readChunk
in interface DataReader
IOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2023. All Rights Reserved.