Skip to main content

read_observable

Function read_observable 

Source
pub fn read_observable(control_bytes: &[u8], index: u32) -> u32
Expand description

Read an observable result word from a control buffer.

On a malformed or truncated control buffer this returns 0 and emits a tracing::error! so the miss is operator-visible. Prefer try_read_observable in new code, a silent 0 is indistinguishable from an observable slot that was never written.