I have a big gzip
file and I would like to read only parts of it using seek
.
About the use of seek
on gzip
files, this page says:
The seek() position is relative to the uncompressed data, so the caller does not even need to know that the data file is compressed.
Does this imply that seek
has to read and decompress the data from the beginning of the file to the target position?