setPosition

fun NioFileChannel.setPosition(fileDelta: Long, whence: Whence = Whence.SET): Either<ChannelPositionError, Long>(source)