Functionsยง
- read_
buf - Read a buffer of
BUF_SIZE(the resulting Vec can be smaller);left_overis copied into the buffer at the start, then the remainder is attempted to be filled frominput. Returns None if eof was reached (nothing could be read) andleft_overis empty. Panics ifleft_over.len() >=BUF_SIZE`.