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

Method r_string_from_view

r/src/array_to_vector.cpp:415–417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413
414 private:
415 static SEXP r_string_from_view(std::string_view view) {
416 return Rf_mkCharLenCE(view.data(), static_cast<int>(view.size()), CE_UTF8);
417 }
418
419 static SEXP r_string_from_view_strip_nul(std::string_view view,
420 bool* nul_was_stripped) {

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected