Function opendal::raw::oio::into_reader::by_range

source ·
pub fn by_range<A: Accessor>(
    acc: Arc<A>,
    path: &str,
    reader: A::Reader,
    offset: u64,
    size: u64
) -> RangeReader<A>
Expand description

Convert given reader into oio::Reader by range.

Notes

This operation is not zero cost. If the accessor already returns a seekable reader, please don’t use this.