Closed Bug 1373546 Opened 7 years ago Closed 7 years ago

Remove bomLength from the return value of Encoding::ForBOM

Categories

(Core :: Internationalization, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: emk, Unassigned)

References

Details

Because nobody is using this return value. It will make it easier to use this function.
The length is in use on the Rust side, e.g. https://searchfox.org/mozilla-central/source/intl/encoding_glue/src/lib.rs#71, and I think there's value in keeping the Rust and C++ APIs consistent. (There are also entire methods that are currently unused on the C++ side but exposed for consistency so that if someone needs them, there is no temptation to resort to workarounds.)
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.