#include <message_codec.h>
template<typename
T>
class flutter::MessageCodec< T >
Definition at line 17 of file message_codec.h.
◆ MessageCodec() [1/2]
◆ ~MessageCodec()
◆ MessageCodec() [2/2]
◆ DecodeMessage() [1/2]
std::unique_ptr< T > flutter::MessageCodec< T >::DecodeMessage |
( |
const std::vector< uint8_t > & |
binary_message | ) |
const |
|
inline |
Definition at line 36 of file message_codec.h.
37 {
38 size_t size = binary_message.size();
39 const uint8_t*
data =
size > 0 ? &binary_message[0] :
nullptr;
41 }
virtual std::unique_ptr< T > DecodeMessageInternal(const uint8_t *binary_message, const size_t message_size) const =0
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot data
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
◆ DecodeMessage() [2/2]
std::unique_ptr< T > flutter::MessageCodec< T >::DecodeMessage |
( |
const uint8_t * |
binary_message, |
|
|
const size_t |
message_size |
|
) |
| const |
|
inline |
◆ DecodeMessageInternal()
virtual std::unique_ptr< T > flutter::MessageCodec< T >::DecodeMessageInternal |
( |
const uint8_t * |
binary_message, |
|
|
const size_t |
message_size |
|
) |
| const |
|
protectedpure virtual |
◆ EncodeMessage()
Definition at line 45 of file message_codec.h.
45 {
47 }
virtual std::unique_ptr< std::vector< uint8_t > > EncodeMessageInternal(const T &message) const =0
◆ EncodeMessageInternal()
virtual std::unique_ptr< std::vector< uint8_t > > flutter::MessageCodec< T >::EncodeMessageInternal |
( |
const T & |
message | ) |
const |
|
protectedpure virtual |
◆ operator=()
The documentation for this class was generated from the following file: