diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2018-01-22 19:29:04 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2018-06-18 19:53:24 +0000 |
commit | 48d6990e418cffb09cd76c0d48b8ffa63490d6cf (patch) | |
tree | f426654751b0b68f7a166ce2b66344cebd75193f /src/network/ssl/ssl.pri | |
parent | 40d528d9fd9a4ce3b97f79b31545e7709a5d3588 (diff) |
QCborValue: store US-ASCII strings as 8-bit
They're easy to convert back to UTF-16, their length is the same, they
occupy half the memory and they're easy to encode into CBOR (no
transformation necessary).
The code was copied from QJsonPrivate::Latin1String::operator=().
Change-Id: I56b444f9d6274221a3b7fffd150c52bcb6c97f37
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/network/ssl/ssl.pri')
0 files changed, 0 insertions, 0 deletions