Skip to main content

read_lengths

Function read_lengths 

Source
pub fn read_lengths(
    file: &FileDecl,
    layout: &Layout,
    k: usize,
    vlr: Vlr,
) -> (u32, u32)
Expand description

The shortest and longest variable-length record a READ of file k takes without a record length conflict: under VLR(STANDARD) its level-01 records’, under VLR(COMPAT) its RECORD IS VARYING clause’s, where a bound the clause leaves out is the level-01 records’ (Programming Guide SC27-8714-03, pp. 422-424; Language Reference SC27-8713-03, pp. 187, 300, 431). See numeric::assumptions::VLR_WITHOUT_VARYING and numeric::assumptions::VLR_RECORDS_CHECKED.