public class ChunkedOutputStream extends FilterOutputStream
To build an instance, see ChunkedOutputStream.Builder
ChunkedOutputStream.Builder| Modifier and Type | Class and Description |
|---|---|
static class |
ChunkedOutputStream.Builder
Builds a new
UnsynchronizedByteArrayOutputStream. |
out| Modifier and Type | Method and Description |
|---|---|
static ChunkedOutputStream.Builder |
builder()
Constructs a new
ChunkedOutputStream.Builder. |
(package private) int |
getChunkSize() |
void |
write(byte[] data,
int srcOffset,
int length)
Writes the data buffer in chunks to the underlying stream
|
close, flush, write, writepublic static ChunkedOutputStream.Builder builder()
ChunkedOutputStream.Builder.ChunkedOutputStream.Builder.int getChunkSize()
public void write(byte[] data,
int srcOffset,
int length)
throws IOException
write in class FilterOutputStreamdata - the data to writesrcOffset - the offsetlength - the length of data to writeIOException - if an I/O error occurs.