createRangeTo

abstract fun createRangeTo(endLocation: SimpleLocatorData, onSuccess: (ContentLocation) -> Unit, onError: (ColibrioException) -> Unit)
abstract suspend fun createRangeTo(endLocation: SimpleLocatorData): ColibrioResult<ContentLocation>

Creates a new ContentLocation representing the range from the start of this instance to the end of endLocation.