|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
atg.test.io.ByteBufferOutputStream
public class ByteBufferOutputStream
An output stream which allows writing to a ByteBuffer
ByteBuffer
Constructor Summary | |
---|---|
ByteBufferOutputStream(java.nio.ByteBuffer pBuffer)
Creates a new ByteBufferOutputStream which writes into the given ByteBuffer. |
Method Summary | |
---|---|
void |
write(byte[] bytes,
int off,
int len)
|
void |
write(int b)
|
Methods inherited from class java.io.OutputStream |
---|
close, flush, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ByteBufferOutputStream(java.nio.ByteBuffer pBuffer)
pBuffer
- ByteBufferInputStream
Method Detail |
---|
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] bytes, int off, int len) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |