StreamRead

Type Alias StreamRead 

Source
pub type StreamRead<T> = fn(&mut T, &mut [c_char]) -> i64;
Expand description

Target buffer with fixed capacity. Return either the number of read bytes, 0 on EOF, or either -1 or panic on error.