Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.2.2
-
None
-
8
-
Team Two Foundation Sprint 50, Team Two Foundation Sprint 51, Foundation PM Prioritized
Description
`QByteArray` has a few converter functions like `toBase64`, `toDouble` etc. it would be great if these converters could also be supported by `QByteArrayView`.
this would allow users to use `QByteArray` converters on byte arrays, which are not owned by `QByteArray`. e.g. i'm thinking about something like:
auto base64(const char *data, size_t size) { return QByteArrayView{data, size}.toBase64(); }
Attachments
Issue Links
- relates to
-
QTBUG-104653 As a user of Qt, I'd like to be able to std::format QByteArray(View) with extended flags
- Open