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

pub fn try_read_record_data<R>(
    reader: &mut R,
    len: usize,
    check_integrity: bool
) -> Result<Vec<u8>, Error> where
    R: Read

Read the record raw bytes with given length from a generic reader.

It is internally called by try_read_record.