public class XDBOutputStream
extends java.io.OutputStream
Modifier and Type | Method and Description |
---|---|
void |
close()
Function to close the XDBOutputStream
|
void |
flush()
Function to flush the XDBOutputStream
|
void |
write(byte[] b)
Writes b.length bytes from the specified byte array to this output stream.
|
void |
write(byte[] b, int off, int len)
Writes len bytes from the specified byte array starting at offset off to this output stream.
|
void |
write(int b)
Writes the specified byte to this output stream.
|
public void write(byte[] b)
write
in class java.io.OutputStream
b
- The byte array to read intopublic void write(byte[] b, int off, int len)
write
in class java.io.OutputStream
b
- The byte array to read fromoff
- Start offset of the datalen
- The number of bytes to writepublic void write(int b)
write
in class java.io.OutputStream
b
- byte to writepublic void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.OutputStream
public void flush()
flush
in interface java.io.Flushable
flush
in class java.io.OutputStream