Closed Bug 1512991 Opened 3 years ago Closed 2 years ago
Func a Write(const char*, size _t) overload
47 bytes, text/x-phabricator-request
|Details | Review|
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.
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/5a5c681effef Add JsonWriteFunc::Write to take string length. r=botond
You need to log in before you can comment on or make changes to this bug.