public class TBufferedOutputStream extends TFilterOutputStream
Modifier and Type | Field and Description |
---|---|
protected byte[] |
buf |
protected int |
count |
out
Constructor and Description |
---|
TBufferedOutputStream(TOutputStream out) |
TBufferedOutputStream(TOutputStream out,
int size) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
void |
write(byte[] buffer,
int offset,
int length) |
void |
write(int oneByte) |
write
public TBufferedOutputStream(TOutputStream out)
public TBufferedOutputStream(TOutputStream out, int size)
public void flush() throws IOException
flush
in interface TFlushable
flush
in class TFilterOutputStream
IOException
public void write(byte[] buffer, int offset, int length) throws IOException
write
in class TOutputStream
IOException
public void close() throws IOException
close
in interface TCloseable
close
in interface TAutoCloseable
close
in class TFilterOutputStream
IOException
public void write(int oneByte) throws IOException
write
in class TFilterOutputStream
IOException
Copyright © 2019. All rights reserved.