reads data from the specified input channel until a specific sentinel is encountered
None
The sentinel must consist of octets.
If nth is given then the sentinel must occur exactly nth times.
Sentinels should not overlap!
The function might block until the input channel is ready to deliver more data.
The read data is treated as binary bytes.
The sentinel is included in the returned octet string.
This function needs I/O-access rights.
std::readln_from | reads a line from the specified input channel |
std::read_from | reads data from the specified input channel |