You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because after calling seekend on a decompressing stream, position should return the uncompressed data size.
I propose deprecating the generic seekend method and removing it in the next breaking release.
Another option would be to implement a generic seek and seekend using the generic seekstart and skip, but as noted in #149 (comment) this could be surprising as seek is expected to be reasonably fast.
The text was updated successfully, but these errors were encountered:
As noted by @jakobnissen in #149 (comment) and @Marlin-Na in #109 there is no way to implement a generic
seekend
method that doesn't process the whole file.This is because after calling
seekend
on a decompressing stream,position
should return the uncompressed data size.I propose deprecating the generic
seekend
method and removing it in the next breaking release.Another option would be to implement a generic
seek
andseekend
using the genericseekstart
andskip
, but as noted in #149 (comment) this could be surprising as seek is expected to be reasonably fast.The text was updated successfully, but these errors were encountered: