Skip to main content

read_record

Function read_record 

Source
pub fn read_record(
    input: &mut impl Read,
    format: RecordFormat,
    lrecl: Option<u32>,
) -> Result<Option<Vec<u8>>, Error>
Expand description

Read one record from input using the selected record format.

ยงErrors

Returns an error when the delegated fixed/RDW framing read fails.