File tree 1 file changed +4
-2
lines changed 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -393,11 +393,13 @@ method.
393
393
` StreamReader.readinto(buf, n=0) ` args:
394
394
` buf ` the buffer to read into.
395
395
` n=0 ` the maximum number of bytes to read - default the buffer size.
396
- available it will be placed in the buffer. The return value is the number of
397
- bytes read. The default maximum is the buffer size, otherwise the value of ` n ` .
398
396
399
397
The method will pause (allowing other coros to run) until data is available.
400
398
399
+ Available data will be placed in the buffer. The return value is the number of
400
+ bytes read. The default maximum number of bytes is limited to the buffer size,
401
+ otherwise to the value of ` n ` .
402
+
401
403
This method calls the synchronous ` readinto ` method of the data source. This
402
404
may take one arg (the buffer) or two (the buffer followed by the maximum number
403
405
of bytes to read). If ` StreamReader.readinto ` is launched with a single arg,
You can’t perform that action at this time.
0 commit comments