public String getTypeSizeForField(TypedField field) {
        TypeReference typeReference = field.getType();
        if (!(typeReference instanceof SimpleTypeReference)) {
            return "";
        }
        SimpleTypeReference simpleTypeReference = (SimpleTypeReference) typeReference;
        switch (simpleTypeReference.getBaseType()) {
            case BIT:
                return " : 1";
            case BYTE:
                return " : 8";
            case UINT:
            case INT:
                // If the bit-size is exactly one of the built-in type-sizes, omit the suffix.
                if ((simpleTypeReference.getSizeInBits() == 8) || (simpleTypeReference.getSizeInBits() == 16) ||
                    (simpleTypeReference.getSizeInBits() == 32) || (simpleTypeReference.getSizeInBits() == 64)) {
                    return "";
                }
                return " : " + simpleTypeReference.getSizeInBits();
            case FLOAT:
            case UFLOAT:
                // If the bit-size is exactly one of the built-in type-sizes, omit the suffix.
                if ((simpleTypeReference.getSizeInBits() == 32) || (simpleTypeReference.getSizeInBits() == 64)) {
                    return "";
                }
                return " : " + simpleTypeReference.getSizeInBits();
            case STRING:
            case VSTRING:
            case TIME:
            case DATE:
            case DATETIME:
                return "";
        }
        return "";
    }
Ge the type-size suffix in case of simple types.

@param field the field we want to get the type-size for
@return a type-size string for the given field or an empty string if this does not apply
code-generation/language-c/src/main/java/org/apache/plc4x/language/c/CLanguageTemplateHelper.java