decodeCombinedType function
Combined type function decoder
Implementation
MraaCombinedTypeDecode decodeCombinedType(int value) {
final ret = MraaCombinedTypeDecode();
ret.mainPlatform = MraaPlatformType.platformTypes(
value & MraaCombinedTypeDecode.mainPlatformMask,
);
ret.subPlatform = MraaPlatformType.platformTypes(
value &
(MraaCombinedTypeDecode.subPlatformMask <<
MraaCombinedTypeDecode.subPlatformShift),
);
return ret;
}