Method Stdio.Buffer()->input_from()
- Method input_from
int(-1..)input_from(Stdio.Streamf,int|voidnbytes)- Description
Read data from
finto this buffer. Ifnbytesis not specified, read until there is no more data to read (currently).Returns the amount of data that was read, or
-1on read error.- Note
Please note that this funcition will read all data from the filedescriptor unless it's set to be non-blocking.