Class ByteBufferOutput

java.lang.Object
java.io.OutputStream
org.jboss.marshalling.ByteBufferOutput
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable, ByteOutput

public class ByteBufferOutput extends OutputStream implements ByteOutput
An OutputStream implementing ByteOutput which writes to a ByteBuffer.
  • Field Details

  • Constructor Details

    • ByteBufferOutput

      public ByteBufferOutput(ByteBuffer buffer)
      Create a new instance.
      Parameters:
      buffer - the buffer to write to
  • Method Details