public class PngIDatChunkOutputStream extends ByteArrayOutputStream
buf, count| Constructor and Description |
|---|
PngIDatChunkOutputStream(OutputStream outputStream) |
PngIDatChunkOutputStream(OutputStream outputStream,
int size) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
protected void |
flushBuffer(byte[] b,
int len) |
long |
getCountFlushed() |
void |
reset() |
void |
setSize(int size) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int arg0) |
size, toByteArray, toString, toString, toString, writeTopublic PngIDatChunkOutputStream(OutputStream outputStream)
public PngIDatChunkOutputStream(OutputStream outputStream, int size)
protected final void flushBuffer(byte[] b,
int len)
public final void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ByteArrayOutputStreamIOExceptionpublic final void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic final void write(byte[] b,
int off,
int len)
write in class ByteArrayOutputStreampublic final void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic final void write(int arg0)
write in class ByteArrayOutputStreampublic final void reset()
reset in class ByteArrayOutputStreampublic void setSize(int size)
public long getCountFlushed()
Copyright © 2014. All rights reserved.