Flutter iOS Embedder
FlutterStandardReaderWriter Class Reference

#import <FlutterCodecs.h>

Inheritance diagram for FlutterStandardReaderWriter:
ExtendedReaderWriter

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 441 of file FlutterStandardCodec.mm.

441  :(NSData*)data {
442  return [[FlutterStandardReader alloc] initWithData:data];
443 }

◆ writerWithData:

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

Create a new FlutterStandardWriter for writing to data.

Reimplemented in ExtendedReaderWriter.

Definition at line 437 of file FlutterStandardCodec.mm.

437  :(NSMutableData*)data {
438  return [[FlutterStandardWriter alloc] initWithData:data];
439 }

The documentation for this class was generated from the following files:
FlutterStandardReader
Definition: FlutterCodecs.h:132
FlutterStandardWriter
Definition: FlutterCodecs.h:92