A static class to decode some bitfields