Flutter Engine
message.h File Reference
#include <algorithm>
#include <cstdint>
#include <cstring>
#include <memory>
#include <type_traits>
#include <utility>
#include "flutter/fml/compiler_specific.h"
#include "flutter/fml/macros.h"

Go to the source code of this file.

Classes

class  fml::MessageSerializable
 
struct  fml::Serializable< T >
 
class  fml::Message
 

Namespaces

 fml
 

Macros

#define FML_SERIALIZE(message, value)
 
#define FML_SERIALIZE_TRAITS(message, value, traits)
 
#define FML_DESERIALIZE(message, value)
 
#define FML_DESERIALIZE_TRAITS(message, value, traits)
 

Macro Definition Documentation

◆ FML_DESERIALIZE

#define FML_DESERIALIZE (   message,
  value 
)
Value:
if (!message.Decode(value)) { \
return false; \
}
uint8_t value

Definition at line 30 of file message.h.

◆ FML_DESERIALIZE_TRAITS

#define FML_DESERIALIZE_TRAITS (   message,
  value,
  traits 
)
Value:
if (!message.Decode<traits>(value)) { \
return false; \
}
uint8_t value

Definition at line 35 of file message.h.

◆ FML_SERIALIZE

#define FML_SERIALIZE (   message,
  value 
)
Value:
if (!message.Encode(value)) { \
return false; \
}
uint8_t value

Definition at line 20 of file message.h.

◆ FML_SERIALIZE_TRAITS

#define FML_SERIALIZE_TRAITS (   message,
  value,
  traits 
)
Value:
if (!message.Encode<traits>(value)) { \
return false; \
}
uint8_t value

Definition at line 25 of file message.h.