code: private ChannelConsumer<ByteBuf> doUpload(Path path, long size, long offset) throws StacklessException, IOException {
  		if (offset > size) {
  			throw OFFSET_TOO_BIG;
  		}
  		long skip = lazyOverrides ? size - offset : 0;
  		return ChannelFileWriter.create(AsyncFile.open(executor, path, set(CREATE, WRITE), this))
  				.withForceOnClose(true)
  				.withOffset(offset + skip)
  				.transformWith(ChannelByteRanger.drop(skip));
  	}
docs: endregion