public class MutableOutputStream extends OutputStream
Constructor and Description |
---|
MutableOutputStream(OutputStream s,
int bufsiz) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
int |
getBufferCap() |
int |
getBufferedByte(int pos) |
int |
getBufferLen() |
int |
setBufferedByte(int pos,
int val) |
void |
truncateBy(int len) |
void |
write(byte[] wbuf,
int woff,
int wlen) |
void |
write(int val) |
write
public MutableOutputStream(OutputStream s, int bufsiz)
public int getBufferCap()
public int getBufferLen()
public void write(int val) throws IOException
write
in class OutputStream
IOException
public void write(byte[] wbuf, int woff, int wlen) throws IOException
write
in class OutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
public void truncateBy(int len)
public int getBufferedByte(int pos)
public int setBufferedByte(int pos, int val)
Copyright 2010-2018 Grey Software (Yusef Badri). All Rights Reserved.