Flutter Engine
The Flutter Engine
Instance Methods | List of all members
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 411 of file FlutterStandardCodec.mm.

441 :(NSData*)data {
442 return [[FlutterStandardReader alloc] initWithData:data];
443}
std::shared_ptr< const fml::Mapping > data
Definition: texture_gles.cc:63

◆ 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}

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