Skip to main content

decode_timings

Function decode_timings 

Source
pub fn decode_timings(bytes: &[u8]) -> Result<Timings, DecodeError>
Expand description

Decode the base JEDEC timing block from a raw SPD image.

Reads every byte through SpdImage, so a short image yields DecodeError::Truncated rather than a panic. The base timing parameters are raw integer encodings with no reserved values, so truncation is the only error this can return.