Partial file hydration? #72
-
Hello, Reading the documentation for GetFileDataCallback (PRJ_GET_FILE_DATA_CB), it sounds like this can / should be called requesting bytes for only certain ranges of the file that are being requested, but so far I've been unable to have this callback invoked with anything but the entire file being requested (byteOffset=0, length=fileSize). Among other things, I've tried reading a byte from the middle of a file using a file handle created with FILE_FLAG_NO_BUFFERING, etc. Is there a way to support/enable/trigger sub-full-file hydration? We have a use case where it would be very advantageous to support this (many multi-GB files that always have their first ~120KB read but the rest of the file is read sparsely, if ever). Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The API is designed to support partial hydration, but the platform doesn't do it right now. This is one of two features (the other being directory rename) that we want to support but have not yet implemented. |
Beta Was this translation helpful? Give feedback.
The API is designed to support partial hydration, but the platform doesn't do it right now. This is one of two features (the other being directory rename) that we want to support but have not yet implemented.