gnu.iou
Class bbo
java.lang.Object
|
+--java.io.OutputStream
|
+--gnu.iou.bbo
- Direct Known Subclasses:
- dbo
- public class bbo
- extends java.io.OutputStream
Wrapper for `bbuf' exporting standard output API.
- Author:
- John Pritchard (john@syntelos.org)
- See Also:
bbuf
,
bbi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bbo
public bbo(int capacity)
bbo
public bbo()
bbo
public bbo(bbuf buf)
write
public void write(int b)
throws java.io.IOException
- Overrides:
write
in class java.io.OutputStream
write
public void write(byte[] b)
throws java.io.IOException
- Overrides:
write
in class java.io.OutputStream
write
public void write(byte[] b,
int ofs,
int len)
throws java.io.IOException
- Overrides:
write
in class java.io.OutputStream
flush
public void flush()
throws java.io.IOException
- Overrides:
flush
in class java.io.OutputStream
close
public void close()
throws java.io.IOException
- Overrides:
close
in class java.io.OutputStream
getByteBuffer
public bbuf getByteBuffer()
length
public int length()
reset
public void reset()
toByteArray
public byte[] toByteArray()