MCPcopy Create free account
hub / github.com/apache/arrow-rs / get_bytes

Method get_bytes

arrow-avro/src/reader/async_reader/async_file_reader.rs:64–66  ·  view source on GitHub ↗
(&mut self, range: Range<u64>)

Source from the content-addressed store, hash-verified

62/// This allows Box<dyn AsyncFileReader + '_> to be used as an AsyncFileReader,
63impl AsyncFileReader for Box<dyn AsyncFileReader + '_> {
64 fn get_bytes(&mut self, range: Range<u64>) -> BoxFuture<'_, Result<Bytes, AvroError>> {
65 self.as_mut().get_bytes(range)
66 }
67
68 fn get_byte_ranges(
69 &mut self,

Callers 1

get_byte_rangesMethod · 0.45

Calls 2

seekMethod · 0.80
takeMethod · 0.45

Tested by

no test coverage detected