public class MemoryByteBuffer
extends java.lang.Object
Constructor and Description |
---|
MemoryByteBuffer() |
MemoryByteBuffer(int size) |
Modifier and Type | Method and Description |
---|---|
java.nio.channels.SeekableByteChannel |
newChannel() |
int |
read(int position,
java.nio.ByteBuffer dst) |
int |
size() |
void |
truncate(int size) |
int |
write(int position,
java.nio.ByteBuffer src) |
public MemoryByteBuffer()
public MemoryByteBuffer(int size)
public java.nio.channels.SeekableByteChannel newChannel()
public int size()
public int read(int position, java.nio.ByteBuffer dst) throws java.io.IOException
java.io.IOException
public int write(int position, java.nio.ByteBuffer src) throws java.io.IOException
java.io.IOException
public void truncate(int size)