Takes a structured-data from a structured-data decoder and return a typed-data (return type must follow typedDataType arg).
Depending on the mime-type, the structured data type will be a String, List<int>, Map<String, String | List<String>>, etc.
Takes a typed-data and return a structured-data usable by the appropriate structured-data encoder (based on mime-type).
Depending on the mime-type, the return type must be String, List<int>, Map<String, String | List<String>>, etc.