Class ByteOutputStream

All Implemented Interfaces:
Closeable, Flushable, AutoCloseable, ByteOutput
Direct Known Subclasses:
LimitedByteOutput, SimpleDataOutput

public class ByteOutputStream extends SimpleByteOutput
An OutputStream which implements ByteOutput and writes bytes to another ByteOutput. Usually the Marshalling.createByteOutput(OutputStream) method should be used to create instances because it can detect when the target already implements ByteOutput.
  • Field Details

    • byteOutput

      protected volatile ByteOutput byteOutput
  • Constructor Details

    • ByteOutputStream

      public ByteOutputStream(ByteOutput byteOutput)
      Construct a new instance.
      Parameters:
      byteOutput - the byte output to write to
  • Method Details