Flutter Engine
fl_standard_message_codec.h File Reference
#include "fl_message_codec.h"

Go to the source code of this file.

Functions

G_BEGIN_DECLS G_DECLARE_FINAL_TYPE (FlStandardMessageCodec, fl_standard_message_codec, FL, STANDARD_CODEC, FlMessageCodec) FlStandardMessageCodec *fl_standard_message_codec_new()
 

Function Documentation

◆ G_DECLARE_FINAL_TYPE()

G_BEGIN_DECLS G_DECLARE_FINAL_TYPE ( FlStandardMessageCodec  ,
fl_standard_message_codec  ,
FL  ,
STANDARD_CODEC  ,
FlMessageCodec   
)

FlStandardMessageCodec:

#FlStandardMessageCodec is an #FlMessageCodec that implements the Flutter standard message encoding. This codec encodes and decodes FlValue of type FL_VALUE_TYPE_NULL, FL_VALUE_TYPE_BOOL, FL_VALUE_TYPE_INT, FL_VALUE_TYPE_FLOAT, FL_VALUE_TYPE_STRING, FL_VALUE_TYPE_UINT8_LIST, FL_VALUE_TYPE_INT32_LIST, FL_VALUE_TYPE_INT64_LIST, FL_VALUE_TYPE_FLOAT_LIST, FL_VALUE_TYPE_LIST, and FL_VALUE_TYPE_MAP.

#FlStandardMessageCodec matches the StandardCodec class in the Flutter services library.