public String getLengthInBitsFunctionNameForComplexTypedField(Field field) {
        TypeReference typeReference = field.asTypedField()
            .map(TypedField::getType)
            .orElseThrow(() -> new FreemarkerException("lengthInBits functions only exist for TypedFields"));
        if (typeReference.isArrayTypeReference()){
            typeReference = typeReference.asArrayTypeReference().orElseThrow().getElementTypeReference();
        }
        return typeReference
            .asNonSimpleTypeReference()
            .map(nonSimpleTypeReference -> getCTypeName(nonSimpleTypeReference.getName()) + "_length_in_bits")
            .orElseThrow(() -> new FreemarkerException("lengthInBits functions only exist for non simple type references"));
    }
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