| Flutter macOS Embedder |

Instance Methods | List of all members
FlutterStandardReaderWriter Class Reference

`#import <FlutterCodecs.h>`

Inheritance diagram for FlutterStandardReaderWriter:

## Instance Methods
(FlutterStandardWriter *) | - writerWithData:
(FlutterStandardReader *) | - readerWithData:

## Detailed Description

A factory of compatible reader/writer instances using the Flutter standard binary encoding or extensions thereof.

Definition at line 172 of file FlutterCodecs.h.

## Method Documentation

## ◆ readerWithData:

- (FlutterStandardReader *) readerWithData: |  | (NSData*) | data |

Create a new `FlutterStandardReader` for reading from `data`.

Reimplemented in ExtendedReaderWriter.

Definition at line 411 of file FlutterStandardCodec.mm.

441 :(NSData*)data {
442 return [[FlutterStandardReader alloc] initWithData:data];
443 }
FlutterStandardReader
Definition: FlutterCodecs.h:133

References flutter::elementSizeForFlutterStandardDataType(), FlutterStandardCodecHelperReadAlignment(), FlutterStandardCodecHelperReadSize(), flutter::FlutterStandardDataTypeForField(), and user_data.

## ◆ writerWithData:

- (FlutterStandardWriter *) writerWithData: |  | (NSMutableData*) | data |

Create a new `FlutterStandardWriter` for writing to `data`.

Reimplemented in ExtendedReaderWriter.

Definition at line 411 of file FlutterStandardCodec.mm.

437 :(NSMutableData*)data {
438 return [[FlutterStandardWriter alloc] initWithData:data];
439 }
FlutterStandardWriter
Definition: FlutterCodecs.h:93

The documentation for this class was generated from the following files:

- shell/platform/darwin/common/framework/Headers/FlutterCodecs.h
- shell/platform/darwin/common/framework/Source/FlutterStandardCodec.mm