Go to the source code of this file.
Functions | |
G_BEGIN_DECLS G_MODULE_EXPORT | G_DECLARE_FINAL_TYPE (FlStringCodec, fl_string_codec, FL, STRING_CODEC, FlMessageCodec) FlStringCodec *fl_string_codec_new() |
G_BEGIN_DECLS G_MODULE_EXPORT G_DECLARE_FINAL_TYPE | ( | FlStringCodec | , |
fl_string_codec | , | ||
FL | , | ||
STRING_CODEC | , | ||
FlMessageCodec | |||
) |
FlStringCodec:
#FlStringCodec is an #FlMessageCodec that implements the Flutter string message encoding. This only encodes and decodes FlValue of type FL_VALUE_TYPE_STRING, other types #FlValues will generate an error during encoding.
#FlStringCodec matches the StringCodec class in the Flutter services library. fl_string_codec_new:
Creates an #FlStringCodec.
Returns: a new #FlStringCodec.