Closed Bug 1791725 Opened 3 years ago Closed 3 years ago

Add FixedBufferOutputStream

Categories

(Core :: XPCOM, task, P2)

task

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: janv, Assigned: janv)

References

Details

Attachments

(1 file)

We currently have MemoryOutputStream in dom/quota. See https://searchfox.org/mozilla-central/rev/b1e5f2c7c96be36974262551978d54f457db2cae/dom/quota/MemoryOutputStream.h#20
But for OPFS, we need to use an already allocated buffer (so the implementation needs to be adjusted) and it seems such a stream can live in a generic place like xpcom/io.

Summary: Add and implement nsIStringOutputStream → Add and implement nsIFixedBufferOutputStream
Attachment #9295531 - Attachment description: Bug 1791725 - Add and implement nsIStringOutputStream; r=#xpcom-reviewers,#dom-storage → Bug 1791725 - Add FixedBufferOutputStream; r=#xpcom-reviewers,#dom-storage
Summary: Add and implement nsIFixedBufferOutputStream → Add FixedBufferOutputStream
See Also: → 1797539
Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3562c607c92c Add FixedBufferOutputStream; r=xpcom-reviewers,nika
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: