A custom example only - standard encoding is default layout.
Convert the *Minix* specific *distrel* version layout
to a tuple.
A callback to be used by the function:
platformids.decode_rte_distrel_to_segments(rte=RTE)
Decodes the compressed *distrel* from the 32bit integer
bitmask *rte* into the corresponding tuple of integer
segments.
Args:
rte:
The comppressed runtime environment identifier bitmask.
default := RTE
Returns:
Tuple of Integer values of the encoded segments, either
as defined by the default layout, or any known as defined
by additional extended and/or custom criteria.
Raises:
pass-through
Examples:
::
decode_rte_distrel_to_segments()
=> (3, 2, 1) # on Minix-3.2.1
=> (3, 3, 0) # on Minix-3.3.0
- Decorators:
|