# FlutterStandardMethodCodec

Objective-C

    @interface FlutterStandardMethodCodec : NSObject <FlutterMethodCodec>

Swift

    class FlutterStandardMethodCodec : NSObject, FlutterMethodCodec

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`.

- `+codecWithReaderWriter:`

  Create a `FlutterStandardMethodCodec` who will read and write to \p readerWriter.

  #### Declaration

  Objective-C

      + (nonnull instancetype)codecWithReaderWriter:
          (nonnull FlutterStandardReaderWriter *)readerWriter;

  Swift

      convenience init(readerWriter: FlutterStandardReaderWriter)

© 2023 Flutter. All rights reserved. (Last updated: 2023-05-08)

Generated by jazzy ♪♫ v0.14.3, a Realm project.