fidl::StringView

Summary

Inheritance

Inherits from: fidl::VectorView< const char >

Constructors and Destructors

StringView()
StringView(const VectorView< char > & vector_view)
StringView(const VectorView< const char > & vector_view)
StringView(AnyArena & allocator, std::string_view from)
StringView(T(&) literal[N])

Public functions

Set(AnyArena & allocator, std::string_view from)
void
get() const
constexpr std::string_view

Public static functions

FromExternal(std::string_view from)
constexpr StringView
FromExternal(const char *data, size_t size)
constexpr StringView

Public functions

Set

void Set(  AnyArena & allocator,  std::string_view from )

StringView

constexpr StringView() noexcept=default

StringView

constexpr StringView(  const VectorView< char > & vector_view )

StringView

constexpr StringView(  const VectorView< const char > & vector_view )

StringView

 StringView(  AnyArena & allocator,  std::string_view from )

StringView

constexpr StringView(  T(&) literal[N] )

get

constexpr std::string_view get() const 

Public static functions

FromExternal

constexpr StringView FromExternal(  std::string_view from )

FromExternal

constexpr StringView FromExternal(  const char *data,  size_t size )