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
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
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