#include "mojo/public/cpp/bindings/lib/message_internal.h"
#include "mojo/public/cpp/bindings/lib/array_internal.h"
#include "mojo/public/cpp/bindings/message.h"
namespace mojo {
namespace internal {
namespace {
size_t ComputeHeaderSize(uint32_t flags,
size_t payload_interface_id_count,
int64_t creation_timeticks_us) { … }
}
size_t ComputeSerializedMessageSize(uint32_t flags,
size_t payload_size,
size_t payload_interface_id_count,
int64_t creation_timeticks_us) { … }
size_t EstimateSerializedMessageSize(uint32_t message_name,
size_t payload_size,
size_t total_size,
size_t estimated_payload_size) { … }
}
}