Flutter Engine
The Flutter Engine
|
#import <FlutterCodecs.h>
Instance Methods | |
(instancetype) | - initWithData:type: [implementation] |
(BOOL) | - isEqual: [implementation] |
(NSUInteger) | - hash [implementation] |
Class Methods | |
(instancetype) | + typedDataWithBytes: |
(instancetype) | + typedDataWithInt32: |
(instancetype) | + typedDataWithInt64: |
(instancetype) | + typedDataWithFloat32: |
(instancetype) | + typedDataWithFloat64: |
(instancetype) | + typedDataWithData:type: [implementation] |
Properties | |
NSData * | data |
FlutterStandardDataType | type |
UInt32 | elementCount |
UInt8 | elementSize |
A byte buffer holding UInt8
, SInt32
, SInt64
, or Float64
values, used with FlutterStandardMessageCodec
and FlutterStandardMethodCodec
.
Two's complement encoding is used for signed integers. IEEE754 double-precision representation is used for floats. The platform's native endianness is assumed.
Definition at line 300 of file FlutterCodecs.h.
|
implementation |
Definition at line 8 of file FlutterStandardCodec.mm.
|
implementation |
Definition at line 8 of file FlutterStandardCodec.mm.
Definition at line 8 of file FlutterStandardCodec.mm.
+ (instancetype) typedDataWithBytes: | (NSData*) | data |
Creates a FlutterStandardTypedData
which interprets the specified data as plain bytes.
data | the byte data. |
Definition at line 8 of file FlutterStandardCodec.mm.
|
implementation |
Definition at line 8 of file FlutterStandardCodec.mm.
+ (instancetype) typedDataWithFloat32: | (NSData*) | data |
Creates a FlutterStandardTypedData
which interprets the specified data as 32-bit floats.
data | the byte data. The length must be divisible by 8. |
Definition at line 8 of file FlutterStandardCodec.mm.
+ (instancetype) typedDataWithFloat64: | (NSData*) | data |
Creates a FlutterStandardTypedData
which interprets the specified data as 64-bit floats.
data | the byte data. The length must be divisible by 8. |
Definition at line 8 of file FlutterStandardCodec.mm.
+ (instancetype) typedDataWithInt32: | (NSData*) | data |
Creates a FlutterStandardTypedData
which interprets the specified data as 32-bit signed integers.
data | the byte data. The length must be divisible by 4. |
Definition at line 8 of file FlutterStandardCodec.mm.
+ (instancetype) typedDataWithInt64: | (NSData*) | data |
Creates a FlutterStandardTypedData
which interprets the specified data as 64-bit signed integers.
data | the byte data. The length must be divisible by 8. |
Definition at line 8 of file FlutterStandardCodec.mm.
|
readnonatomicassign |
The raw underlying data buffer.
Definition at line 344 of file FlutterCodecs.h.
|
readnonatomicassign |
The number of value items encoded.
Definition at line 354 of file FlutterCodecs.h.
|
readnonatomicassign |
The number of bytes used by the encoding of a single value item.
Definition at line 359 of file FlutterCodecs.h.
|
readnonatomicassign |
The type of the encoded values.
Definition at line 349 of file FlutterCodecs.h.