MCPcopy Create free account
hub / github.com/argumentcomputer/ix / unpack_bools

Function unpack_bools

crates/ixon/src/serialize.rs:124–126  ·  view source on GitHub ↗

Unpack up to n bools from a u8.

(n: usize, b: u8)

Source from the content-addressed store, hash-verified

122 tag.size
123 ));
124 }
125 let stored_root = get_address(buf)?;
126 // A pre-bundle-format `.ixe` has the §1 blob count here, so this
127 // byte is that count's Tag0 head — flag the likely cause when it
128 // isn't a valid opt tag. (.ixe files are regenerated artifacts.)
129 let main = get_opt_addr(buf).map_err(|e| {

Callers 2

getMethod · 0.85

Calls 1

takeMethod · 0.45

Tested by

no test coverage detected