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

Method ArrayDataEndianSwapper

cpp/src/arrow/array/util.cc:83–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81class ArrayDataEndianSwapper {
82 public:
83 explicit ArrayDataEndianSwapper(const std::shared_ptr<ArrayData>& data,
84 MemoryPool* pool)
85 : data_(data), pool_(pool) {
86 out_ = data->Copy();
87 }
88
89 // WARNING: this facility can be called on invalid Array data by the IPC reader.
90 // Do not rely on the advertised ArrayData length, instead use the physical

Callers

nothing calls this directly

Calls 1

CopyMethod · 0.45

Tested by

no test coverage detected