NPRPC docs

class String

C++

class String : public detail::Vector<char>

A string's layout in the buffer. Public, unlike the other layout types: servants taking vector<string> receive Span_ref<String, String_Direct1>.

include/nprpc/flat.hpp:469

Constructors

String(flat_buffer &buffer, std::string_view str)

Stores str in buffer.

include/nprpc/flat.hpp:473

String(flat_buffer &buffer, const char *str)

Stores str in buffer.

include/nprpc/flat.hpp:480

String(flat_buffer &buffer, const std::string &str)

Stores str in buffer.

include/nprpc/flat.hpp:486