Function bitcoin::script::read_scriptbool
source · pub fn read_scriptbool(v: &[u8]) -> boolExpand description
Decodes a boolean.
This is like “read_scriptint then map 0 to false and everything
else as true”, except that the overflow rules don’t apply.