pub(crate) fn build_range_bytes(
    low_endpoint: BytesLowEndpointWithContinuation,
    high_endpoint: BytesHighEndpointWithContinuation
) -> FdbResult<Range>
Expand description

Convert BytesLowEndpointWithContinuation and BytesHighEndpointWithContinuation into a FDB Range.

Note: This method along with KeyValueCursorBuilder::build_range, bytes_endpoint::build_range_continuation has extensive integration test to verify its correctness. Exercise care when refactoring this code.

Also the use of key_util::strinc, key_util::key_after and how inclusiveness and exclusiveness is handled depends on using KeySelector::first_greater_or_equal, which is done in KeyValueCursorBuilder::build.