Sets this channel's position.
Sets this channel's position.
No exception is thrown if value is greater than the length of the Channel but a read will fail and a write will grow the channel to position and begin writing there.
The new position of the channel
the same channel object
Returns this channel's position
Returns this channel's position
This channel's position. A non-negative integer counting the number of bytes from the beginning of the entity to the current position
Return current size of Channel
Return current size of Channel
Reduce the size of the channel to the indicated size.
Reduce the size of the channel to the indicated size. If size is > than size of channel then channel is not modified
max size for channel after operation
the same channel object
An object for reading and writing to Random Access IO objects such as Files. This is analogous to the Java 7 NIO2 SeekableByteChannel. In large part this is as an abstraction away from FileChannel allowing other implementations.
1.0