Streaming bytes

Hey, I’m confused with the rule S6022.
std::byte cannot be used in ofstream.write. So I must reinterpret_cast my data to const char*. But it will trigger S6022.

Thank you for your report (I moved it to a dedicated thread, we prefer one topic per thread).

I created [CPP-4934] - Jira to add support for this special case.