MCPcopy Create free account
hub / github.com/apache/arrow / r_string_from_view

Method r_string_from_view

r/src/array_to_vector.cpp:376–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

374
375 private:
376 static SEXP r_string_from_view(std::string_view view) {
377 return Rf_mkCharLenCE(view.data(), static_cast<int>(view.size()), CE_UTF8);
378 }
379
380 static SEXP r_string_from_view_strip_nul(std::string_view view,
381 bool* nul_was_stripped) {

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected