Closed Bug 1702471 Opened 5 years ago Closed 4 years ago

Support reading at an offset in IOUtils.read

Categories

(Toolkit Graveyard :: OS.File, enhancement, P3)

enhancement

Tracking

(firefox90 fixed)

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: freaktechnik, Assigned: beth)

References

Details

Attachments

(1 file)

IOUtils.read already supports reading up to maxBytes, however there is no way to seek before reading, so only the first bytes of a file can be read. Being able to seek is especially useful for big files, so they can be processed in chunks.

Assignee: nobody → brennie
Severity: -- → S3
Status: NEW → ASSIGNED
Type: task → enhancement
Priority: -- → P3
Blocks: 1704614
Pushed by brennie@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/558430978cc2 Support reading at an offset in IOUtils.read r=Gijs
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: