Function qt_core::q_text_stream::bom
source · pub unsafe fn bom(s: impl CastInto<Ref<QTextStream>>) -> Ref<QTextStream>
Expand description
Toggles insertion of the Byte Order Mark on stream when QTextStream is used with a UTF codec.
Calls C++ function: QTextStream& bom(QTextStream& s)
.
Toggles insertion of the Byte Order Mark on stream when QTextStream is used with a UTF codec.
See also QTextStream::setGenerateByteOrderMark() and QTextStream manipulators.