pub type StreamRead<T> = fn(&mut T, &mut [c_char]) -> i64;
Target buffer with fixed capacity. Return either the number of read bytes, 0 on EOF, or either -1 or panic on error.
0
-1