Skip to main content

read_rdw_record

Function read_rdw_record 

Source
pub fn read_rdw_record(
    input: &mut impl Read,
    strict_mode: bool,
) -> Result<Option<RDWRecord>>
Expand description

Read one complete RDW record, preserving its header and reserved bytes.

Use read_record when the operation only needs the payload. This helper is the lossless dispatch path for callers that need to inspect or preserve the original RDW framing metadata.

ยงErrors

Returns an error when the delegated RDW framing read fails.