from_string


Description:

public static ContentEncoding from_string (string str)

Gets the appropriate ContentEncoding enumeration value based on the input string.

Parameters:

str

a string representing a Content-Transfer-Encoding value

Returns:

the ContentEncoding specified by str or DEFAULT on error.




2022 vala-language.org