Read + Seek for a Google Cloud Storage object


I want to read a large block-gzipped object from Google Cloud Storage using noodles, which expects something that implements Read + Seek.

The reason for this is that the object will typically be rather large, so we want to be able to skip to a given position and read a portion of the data without downloading the entire portion at once.

I checked cloud-storage, but could not find a way to get a Read + Seek from it.

Is there a way to get a Read + Seek from a Google Cloud storage object?


Best, Oliver

Maybe you can just do it by hand? Set the range and GET the stuff?

Yeah, thanks, I guess that's what I will try!

I had to solve this recently and published a crate for this - range_reader - Rust maybe it can be of help.

1 Like

So nice!

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.