public final class EncodingOutput extends OutputStream
InputStream
filled by a database
client. The incoming bytes are encoded:
0x00
and 0xFF
are prefixed with 0xFF
0x00
is sent to indicate the end of a streamConstructor and Description |
---|
EncodingOutput(OutputStream os)
Constructor.
|
public EncodingOutput(OutputStream os)
os
- output stream to be wrappedpublic void write(int b) 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
Copyright © 2005–2015 BaseX Team. All rights reserved.