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) |
Modifier and Type | Method and Description |
---|---|
void |
flush() |
int |
size() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, write
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 © 2008–2018 Apache Software Foundation. All rights reserved.