public final class EncodingOutput
extends java.io.OutputStream
InputStream filled by a database
client. The incoming bytes are encoded:
0x00 and 0xFF are prefixed with 0xFF0x00 is sent to indicate the end of a stream| Constructor and Description |
|---|
EncodingOutput(java.io.OutputStream out)
Constructor.
|
public EncodingOutput(java.io.OutputStream out)
out - output stream to be wrappedpublic void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamjava.io.IOException