interface DataOutputStream
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
buffer()
Returns the current
ByteBuffer mapped on the target file. |
int |
size()
Returns the current size of this stream.
|
void |
write(java.nio.ByteBuffer byteBuffer)
Writes a sequence of bytes to this stream from the given buffer.
|
int size() throws java.io.IOException
java.io.IOExceptionjava.nio.ByteBuffer buffer()
throws java.io.IOException
ByteBuffer mapped on the target file.
Note: the ByteBuffer has READ ONLY access.
ByteBufferjava.io.IOExceptionvoid write(java.nio.ByteBuffer byteBuffer)
throws java.io.IOException
byteBuffer - the source ByteBufferjava.io.IOException