sys::Obj sys::Virtual sys::OutStream sys::BufOutStream
public final class BufOutStream
BufOutStream is used to write bytes to a memory Buf.
public Buf buf
public void BufOutStream(Buf buf)
Construct for specified Buf instance.
public override bool write(int x)
Write a byte to the end of the buffer at buf[size]. Return true on success, false if buffer is full.
public override bool writeBytes(byte[] b, int off, int len)
Write a block of bytes to the end of the buffer. buffer size. Return true on success, false if there is not enough room in the buffer.