public class SimpleBufferedOutputStream extends FilterOutputStream
Modifier and Type | Field and Description |
---|---|
protected byte[] |
buf |
protected int |
count |
out
Constructor and Description |
---|
SimpleBufferedOutputStream(OutputStream out,
byte[] buf) |
public SimpleBufferedOutputStream(OutputStream out, byte[] buf)
public void write(int b) throws IOException
write
in class FilterOutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class FilterOutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class FilterOutputStream
IOException
public int size()
Copyright © 2019 Apache Software Foundation. All Rights Reserved.