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

Function MakeReencodeInputStream

r/src/io.cpp:608–614  ·  view source on GitHub ↗

[[arrow::export]]

Source from the content-addressed store, hash-verified

606
607// [[arrow::export]]
608std::shared_ptr<arrow::io::InputStream> MakeReencodeInputStream(
609 const std::shared_ptr<arrow::io::InputStream>& wrapped, std::string from) {
610 arrow::io::TransformInputStream::TransformFunc transform(
611 ReencodeUTF8TransformFunctionWrapper{from});
612 return std::make_shared<arrow::io::TransformInputStream>(std::move(wrapped),
613 std::move(transform));
614}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected