Skip to main content

encoded_state

Function encoded_state 

Source
pub fn encoded_state() -> u64
Expand description

Pack the slot’s current (generation, mode) into a single u64 for an FFI getter to return verbatim — see the module docs’ FFI-encoding section for the exact bit layout. Each mobile shell exports this unchanged; its own Kotlin/Swift decoder is built against it.