We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e4b0ba commit 0393bceCopy full SHA for 0393bce
python/src/reader.rs
@@ -115,11 +115,15 @@ struct ObspecReader {
115
}
116
117
impl AsyncFileReader for ObspecReader {
118
- fn get_bytes(&self, range: Range<u64>) -> BoxFuture<'_, AsyncTiffResult<Bytes>> {
+ fn get_metadata_bytes(&self, range: Range<u64>) -> BoxFuture<'_, AsyncTiffResult<Bytes>> {
119
self.backend.get_range_wrapper(&self.path, range).boxed()
120
121
122
- fn get_byte_ranges(
+ fn get_image_bytes(&self, range: Range<u64>) -> BoxFuture<'_, AsyncTiffResult<Bytes>> {
123
+ self.backend.get_range_wrapper(&self.path, range).boxed()
124
+ }
125
+
126
+ fn get_image_byte_ranges(
127
&self,
128
ranges: Vec<Range<u64>>,
129
) -> BoxFuture<'_, AsyncTiffResult<Vec<Bytes>>> {
0 commit comments