class TextRange
Defined at line 2412 of file fidling/gen/sdk/fidl/fuchsia.ui.input/fuchsia.ui.input/hlcpp/fuchsia/ui/input/cpp/fidl.h
A range of characters in a string of text. Although strings in FIDL's wire
format are UTF-8 encoded, these indices are measured in UTF-16 code units
for legacy reasons. These text input APIs will eventually be replaced by
fuchsia.ui.text, which uses code points instead.
Public Members
int64_t start
int64_t end
Public Methods
::std::unique_ptr<TextRange> New ()
void Encode (::fidl::Encoder *_encoder,size_t_offset,std::optional< ::fidl::HandleInformation>maybe_handle_info)
void Decode (::fidl::Decoder *_decoder,TextRange *value,size_t_offset)
zx_status_t Clone (TextRange * result)