#import <FlutterCodecs.h>
Instance Methods | |
| (NSData *_Nullable) | - encode: |
| (id _Nullable) | - decode: |
Class Methods | |
| (instancetype) | + sharedInstance |
A message encoding/decoding mechanism.
Definition at line 18 of file FlutterCodecs.h.
| - (id _Nullable) decode: | (NSData *_Nullable) | message |
Decodes the specified message from binary.
| message | The message. |
nil, if message was nil. Referenced by CheckEncodeDecode(), and TEST().
| - (NSData* _Nullable) encode: | (id _Nullable) | message |
Encodes the specified message into binary.
| message | The message. |
nil, if message was nil. Referenced by CheckEncodeDecode(), and TEST().
| + (instancetype) sharedInstance |
Returns a shared instance of this FlutterMessageCodec.
Referenced by CheckEncodeDecode(), KeyboardTester::handleChannelMessage:message:binaryReply:, FlutterBasicMessageChannel::messageChannelWithName:binaryMessenger:, TEST(), flutter::testing::TEST_F(), FlutterViewControllerTestObjC::testFlagsChangedEventsArePropagatedIfNotHandled:, FlutterViewControllerTestObjC::testKeyEventsAreNotPropagatedIfHandled:, FlutterViewControllerTestObjC::testKeyEventsArePropagatedIfNotHandled:, FlutterViewControllerTestObjC::testKeyEventsAreSentToFramework:, and FlutterViewControllerTestObjC::testModifierKeysAreSynthesizedOnMouseMove:.