decode_bits

Function decode_bits 

Source
pub fn decode_bits(s: &str) -> Option<u128>
Expand description

The 128 bits a GlobalId encodes: the inverse of encode, or None when s is not is_valid_global_id (a first character past '3' would need a 129th bit). A GlobalId is a compressed GUID, so these bits are the GUID a tool that expands GlobalIds (IfcOpenShell’s guid.expand) prints.