Package zombie.util

Class ByteBufferOutputStream

java.lang.Object
java.io.OutputStream
zombie.util.ByteBufferOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class ByteBufferOutputStream extends OutputStream
  • Constructor Details

    • ByteBufferOutputStream

      public ByteBufferOutputStream(ByteBuffer byteBuffer, boolean boolean1)
  • Method Details

    • toByteBuffer

      public ByteBuffer toByteBuffer()
    • getWrappedBuffer

      public ByteBuffer getWrappedBuffer()
    • clear

      public void clear()
    • flip

      public void flip()
    • write

      public void write(int int1)
      Specified by:
      write in class OutputStream
    • write

      public void write(byte[] byteArray)
      Overrides:
      write in class OutputStream
    • write

      public void write(byte[] byteArray, int int1, int int2)
      Overrides:
      write in class OutputStream