Skip to main content

unpack_bitmask

Function unpack_bitmask 

Source
pub fn unpack_bitmask(packed: &[u8], code_len: usize) -> Vec<u8> 
Expand description

Unpack a packed bitmask (1 bit per byte) into the unpacked form (one byte per code position; 0 or 1). The packed form is the serialized representation; the unpacked form is what PvmProgram::bitmask carries.