Package zombie.util
Class ByteBufferOutputStream
java.lang.Object
java.io.OutputStream
zombie.util.ByteBufferOutputStream
- All Implemented Interfaces:
 java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
public class ByteBufferOutputStream
extends java.io.OutputStream
- 
Constructor Summary
Constructors Constructor Description ByteBufferOutputStream(java.nio.ByteBuffer byteBuffer, boolean boolean1) - 
Method Summary
Modifier and Type Method Description java.nio.ByteBuffergetWrappedBuffer()voidreset()java.nio.ByteBuffertoByteBuffer()voidwrite(byte[] byteArray)voidwrite(byte[] byteArray, int int1, int int2)voidwrite(int int1)Methods inherited from class java.io.OutputStream
close, flush, nullOutputStreamMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Constructor Details
- 
ByteBufferOutputStream
public ByteBufferOutputStream(java.nio.ByteBuffer byteBuffer, boolean boolean1) 
 - 
 - 
Method Details
- 
toByteBuffer
public java.nio.ByteBuffer toByteBuffer() - 
getWrappedBuffer
public java.nio.ByteBuffer getWrappedBuffer() - 
reset
public void reset() - 
write
public void write(int int1)- Specified by:
 writein classjava.io.OutputStream
 - 
write
public void write(byte[] byteArray)- Overrides:
 writein classjava.io.OutputStream
 - 
write
public void write(byte[] byteArray, int int1, int int2)- Overrides:
 writein classjava.io.OutputStream
 
 -