for a non-seekable Stream, RangeRead supports peeking some data, and CacheFullAndWriter still works
(http_range.Range)
| 45 | SetExist(Obj) |
| 46 | // for a non-seekable Stream, RangeRead supports peeking some data, and CacheFullAndWriter still works |
| 47 | RangeRead(http_range.Range) (io.Reader, error) |
| 48 | // for a non-seekable Stream, if Read is called, this function won't work. |
| 49 | // caches the full Stream and writes it to writer (if provided, even if the stream is already cached). |
| 50 | CacheFullAndWriter(up *UpdateProgress, writer io.Writer) (File, error) |
no outgoing calls