Method _Stdio.Buffer()->try_read()
- Method
try_read
string(8bit)
try_read(int(0..)
len
)- Description
Attempt to read some data from the buffer.
- Parameter
len
Read at most
len
bytes from the buffer.- Returns
If the buffer contains less than
len
bytes of data, the entire buffer contents are returned. Otherwise the firstlen
bytes are returned.- See also