NPRPC docs

class String_Direct1

C++

class String_Direct1 : public Vector_Direct1<char>

Accessor for a string field; call it for a Span<char>.

include/nprpc/flat.hpp:493

Constructors

String_Direct1(flat_buffer &buffer, std::uint32_t offset)

The field at offset in buffer; created by generated code.

include/nprpc/flat.hpp:505

Operators

void operator=(std::string_view str) noexcept

Replaces the string with str.

include/nprpc/flat.hpp:497