FlutterStandardReader

@interface FlutterStandardReader : NSObject

A reader of the Flutter standard binary encoding.

See FlutterStandardMessageCodec for details on the encoding.

The encoding is extensible via subclasses overriding readValueOfType.

  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithData:(NSData*)data;
  • Undocumented

    Declaration

    Objective-C

    - (BOOL)hasMore;
  • Undocumented

    Declaration

    Objective-C

    - (UInt8)readByte;
  • Undocumented

    Declaration

    Objective-C

    - (void)readBytes:(void*)destination length:(NSUInteger)length;
  • Undocumented

    Declaration

    Objective-C

    - (NSData*)readData:(NSUInteger)length;
  • Undocumented

    Declaration

    Objective-C

    - (UInt32)readSize;
  • Undocumented

    Declaration

    Objective-C

    - (void)readAlignment:(UInt8)alignment;
  • Undocumented

    Declaration

    Objective-C

    - (NSString*)readUTF8;
  • Undocumented

    Declaration

    Objective-C

    - (nullable id)readValue;
  • Undocumented

    Declaration

    Objective-C

    - (nullable id)readValueOfType:(UInt8)type;