fun writeBom(encoding: StringEncoding, byteOrder: ByteOrder): Nothing
Writes BOM character into the stream for non-ASCII encoding.