Flutter Engine
The Flutter Engine
|
Public Member Functions | |
ByteBuffer | encodeMessage (@Nullable String message) |
String | decodeMessage (@Nullable ByteBuffer message) |
Public Member Functions inherited from io.flutter.plugin.common.MessageCodec< String > | |
ByteBuffer | encodeMessage ( @Nullable T message) |
T | decodeMessage ( @Nullable ByteBuffer message) |
Static Public Attributes | |
static final StringCodec | INSTANCE = new StringCodec() |
A MessageCodec
using UTF-8 encoded String messages.
This codec is guaranteed to be compatible with the corresponding StringCodec on the Dart side. These parts of the Flutter SDK are evolved synchronously.
Definition at line 18 of file StringCodec.java.
|
inline |
Definition at line 39 of file StringCodec.java.
|
inline |
Definition at line 26 of file StringCodec.java.
|
static |
Definition at line 20 of file StringCodec.java.