5#ifndef FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_MESSAGE_CODEC_H_
6#define FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_MESSAGE_CODEC_H_
30 const size_t message_size)
const {
37 const std::vector<uint8_t>& binary_message)
const {
38 size_t size = binary_message.size();
39 const uint8_t*
data =
size > 0 ? &binary_message[0] :
nullptr;
52 const uint8_t* binary_message,
53 const size_t message_size)
const = 0;
std::unique_ptr< T > DecodeMessage(const uint8_t *binary_message, const size_t message_size) const
MessageCodec & operator=(MessageCodec< T > const &)=delete
virtual std::unique_ptr< T > DecodeMessageInternal(const uint8_t *binary_message, const size_t message_size) const =0
virtual std::unique_ptr< std::vector< uint8_t > > EncodeMessageInternal(const T &message) const =0
std::unique_ptr< std::vector< uint8_t > > EncodeMessage(const T &message) const
std::unique_ptr< T > DecodeMessage(const std::vector< uint8_t > &binary_message) const
virtual ~MessageCodec()=default
MessageCodec(MessageCodec< T > const &)=delete
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