diff options
| author | Adrian Herrmann <adrian.herrmann@qt.io> | 2023-08-30 19:05:38 +0200 |
|---|---|---|
| committer | Adrian Herrmann <adrian.herrmann@qt.io> | 2023-08-31 13:10:20 +0200 |
| commit | 762cffbd319834245e8994f3104fc722e1394bd2 (patch) | |
| tree | b7e645a634ff03321bd93343a01f7a7701da8879 /examples/scriptableapplication/pythonutils.cpp | |
| parent | c2ad08a6d2e5b9bb743194ce46643d113dc895ed (diff) | |
QIODevice: Implement buffered reads
Some users of QIODevice read functions (read, readLine and peek) might
want to use fixed buffers to avoid reallocation, e.g., asyncio's
buffered protocols. This adds overloads of said read functions that take
an input buffer (as a bytearray) and return the number of read bytes.
Pick-to: 6.5
Change-Id: I0c3678d3a87811029278c5ae8f829eef0432099a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'examples/scriptableapplication/pythonutils.cpp')
0 files changed, 0 insertions, 0 deletions
