Closed
Bug 1512991
Opened 5 years ago
Closed 4 years ago
give JSONWriteFunc a Write(const char*, size_t) overload
Categories
(Core :: MFBT, enhancement)
Core
MFBT
Tracking
()
RESOLVED
FIXED
mozilla78
People
(Reporter: froydnj, Assigned: fronkc1)
Details
Attachments
(1 file)
We have the length available for the string we're writing in many of the places we want to call into a subclass of JSONWriteFunc; it seems wasteful to throw that information away and have to recompute it via `strlen` or something similar in a lower layer.
Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Assignee: nobody → fronkc1
Status: NEW → ASSIGNED
Pushed by bballo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5a5c681effef Add JsonWriteFunc::Write to take string length. r=botond
Comment 3•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox78:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
Updated•4 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•