identity_iota_interaction::types::multisig

Function as_indices

pub fn as_indices(bitmap: u16) -> Result<Vec<u8>, IotaError>
Expand description

Interpret a bitmap of 01s as a list of indices that is set to 1s. e.g. 22 = 0b10110, then the result is [1, 2, 4].