public interface SeekableByteChannel extends ByteChannel, Channel, Closeable, ReadableByteChannel, WritableByteChannel
| Modifier and Type | Method and Description |
|---|---|
long |
position() |
SeekableByteChannel |
setPosition(long newPosition) |
long |
size() |
SeekableByteChannel |
truncate(long size) |
readwritelong position()
throws IOException
IOExceptionSeekableByteChannel setPosition(long newPosition) throws IOException
IOExceptionlong size() throws IOException
IOExceptionSeekableByteChannel truncate(long size) throws IOException
IOExceptionCopyright © 2019. All rights reserved.