[][src]Function tfrecord::io::blocking::try_read_len

pub fn try_read_len<R>(
    reader: &mut R,
    check_integrity: bool
) -> Result<Option<usize>, Error> where
    R: Read

Try to read the record length from a generic reader.

It is internally called by try_read_record. It returns Ok(None) if reaching the end of file.