fidl::StringView
Summary
Inheritance
Inherits from:
fidl::VectorView< const char >
Public functions
|
Set(AnyArena & allocator, std::string_view from)
|
void
|
at(size_t offset) const
|
const char &
|
begin() const
|
const char *
|
cbegin() const
|
const char *
|
cend() const
|
const char *
|
data() const
|
const char *
|
empty() const
|
bool
|
end() const
|
const char *
|
get() const
|
std::string_view
|
is_null() const
|
bool
|
operator[](size_t offset) const
|
const char &
|
set_size(uint64_t size)
|
void
|
size() const
|
uint64_t
|
Public functions
Set
void Set(
AnyArena & allocator,
std::string_view from
)
StringView
StringView(
VectorView< const char > && vv
)
StringView
StringView(
AnyArena & allocator,
std::string_view from
)
StringView
constexpr StringView(
T(&) literal[N]
)
at
const char & at(
size_t offset
) const
begin
const char * begin() const
cbegin
const char * cbegin() const
cend
const char * cend() const
data
const char * data() const
end
const char * end() const
get
std::string_view get() const
is_null
bool is_null() const
operator[]
const char & operator[](
size_t offset
) const
set_size
void set_size(
uint64_t size
)
size
uint64_t size() const
Public static functions
FromExternal
StringView FromExternal(
std::string_view from
)
FromExternal
StringView FromExternal(
const char *data,
size_t size
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-12-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-12-14 UTC."],[],[]]