public interface DataWriter extends Closeable, Cancelable
| Modifier and Type | Interface and Description |
|---|---|
static class |
DataWriter.Factory
Factory for
DataWriter. |
| Modifier and Type | Method and Description |
|---|---|
int |
chunkSize() |
void |
flush()
Flushes all the pending chunks.
|
long |
pos() |
void |
writeChunk(io.netty.buffer.ByteBuf chunk)
Writes a chunk.
|
cancelvoid writeChunk(io.netty.buffer.ByteBuf chunk)
throws IOException
chunk - the chunkIOExceptionvoid flush()
throws IOException
IOExceptionint chunkSize()
long pos()
Copyright © 2024. All Rights Reserved.