pub fn convert_external_plugin_adapter_data_to_string(
schema: &ExternalPluginAdapterSchema,
data_slice: &[u8],
) -> StringExpand description
Use ExternalPluginAdapterSchema to convert data to string. If schema is binary or there is
an error, then use Base64 encoding.