template <typename T>

struct NaturalTableCodingTraits

Defined at line 350 of file ../../sdk/lib/fidl/cpp/include/lib/fidl/cpp/internal/natural_types.h

Public Members

static const size_t kInlineSize
static const bool kIsMemcpyCompatible

Public Methods

template <class EncoderImpl>
void Encode (EncoderImpl * encoder, T * value, size_t offset, size_t recursion_depth)

Defined at line 394 of file ../../sdk/lib/fidl/cpp/include/lib/fidl/cpp/internal/natural_types.h

template <size_t I = std::tuple_size_v<decltype(T::kMembers)> - 1>
size_t MaxOrdinalPresent (T * value)

Returns the largest ordinal of a present table member.

Defined at line 416 of file ../../sdk/lib/fidl/cpp/include/lib/fidl/cpp/internal/natural_types.h

size_t MaxOrdinalInSchema ()

Returns the largest known ordinal in the FIDL schema.

Defined at line 430 of file ../../sdk/lib/fidl/cpp/include/lib/fidl/cpp/internal/natural_types.h

void Decode (NaturalDecoder * decoder, T * value, size_t offset, size_t recursion_depth)

Defined at line 439 of file ../../sdk/lib/fidl/cpp/include/lib/fidl/cpp/internal/natural_types.h

bool Equal (const T * table1, const T * table2)

Defined at line 495 of file ../../sdk/lib/fidl/cpp/include/lib/fidl/cpp/internal/natural_types.h

Records