public interface ElfByteChannel
extends java.nio.channels.ByteChannel
| Modifier and Type | Method and Description |
|---|---|
long |
position() |
ElfByteChannel |
position(long newPosition) |
int |
read(java.nio.ByteBuffer dst) |
int |
read(java.nio.ByteBuffer dst,
long position) |
long |
size() |
ElfByteChannel |
truncate(long size) |
int |
write(java.nio.ByteBuffer src) |
long position()
throws java.io.IOException
java.io.IOExceptionElfByteChannel position(long newPosition) throws java.io.IOException
java.io.IOExceptionint read(java.nio.ByteBuffer dst) throws java.io.IOException
read in interface java.nio.channels.ReadableByteChanneljava.io.IOExceptionint read(java.nio.ByteBuffer dst,
long position)
throws java.io.IOException
java.io.IOExceptionlong size() throws java.io.IOException
java.io.IOExceptionElfByteChannel truncate(long size) throws java.io.IOException
java.io.IOExceptionint write(java.nio.ByteBuffer src) throws java.io.IOException
write in interface java.nio.channels.WritableByteChanneljava.io.IOException