Function std::io::default_read_to_string

source ·
pub(crate) fn default_read_to_string<R: Read + ?Sized>(
    r: &mut R,
    buf: &mut String,
    size_hint: Option<usize>
) -> Result<usize>