Skip to main content

read

Function read 

Source
pub fn read(
    bytes: &[u8],
    resources: &dyn Resources,
    limits: &Limits,
) -> Result<Checked, WireError>
Expand description

Read one frame record from bytes (exactly one record) and validate every scene in it against limits. Every byte is read once.

ยงErrors

The first thing wrong with the record.