Flutter macOS Embedder
FlutterStandardMethodCodec Class Reference

#import <FlutterCodecs.h>

Inheritance diagram for FlutterStandardMethodCodec:

Class Methods

(instancetype) + codecWithReaderWriter:
 

Detailed Description

A FlutterMethodCodec using the Flutter standard binary encoding.

This codec is guaranteed to be compatible with the corresponding StandardMethodCodec on the Dart side. These parts of the Flutter SDK are evolved synchronously.

Values supported as method arguments and result payloads are those supported by FlutterStandardMessageCodec.

Definition at line 469 of file FlutterCodecs.h.

Method Documentation

◆ codecWithReaderWriter:

+ (instancetype) codecWithReaderWriter: (FlutterStandardReaderWriter*)  readerWriter

Create a FlutterStandardMethodCodec who will read and write to readerWriter.

Definition at line 70 of file FlutterStandardCodec.mm.

70  :(FlutterStandardReaderWriter*)readerWriter {
71  return [[FlutterStandardMethodCodec alloc] initWithReaderWriter:readerWriter];
72 }

The documentation for this class was generated from the following files:
FlutterStandardReaderWriter
Definition: FlutterCodecs.h:172
FlutterStandardMethodCodec
Definition: FlutterCodecs.h:469