AFAIK there is none as comprehensive as you seek.
However for bit field see;
To see them listed as code use:
listing('$syspreds':map_bits/N).
Note: This is one of the rare cases where some of the clauses have two cuts in the same clause.
I don’t know if Jan W. would accept a PR adding more genialized such predicates in the boot level code but it does give one a general idea of what is needed to create a PR as a separate module.
Quite a while ago I did post some code that worked with streams of byte data and did some of these types of conversions.
binary.pl (9.9 KB)