Class ServerOutput

java.lang.Object
java.io.OutputStream
org.basex.io.out.ServerOutput
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public final class ServerOutput extends OutputStream
This server-side class wraps an InputStream referenced 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 stream
Author:
BaseX Team 2005-21, BSD License, Christian Gruen