Fix bug when caching from non-zero position
The position should be subtracted from the total content length retrieved from the cache in this case, both for iteration and for filling out counters.contentLength (for the latter, note not doing it this way is inconsistent with what happens when dataSpec length is set to a known value). PiperOrigin-RevId: 242445034
Showing
with
63 additions
and
32 deletions
Please
register
or
sign in
to comment