| 130 | |
| 131 | template <typename VALUE_TYPE> |
| 132 | Status SwapOffsets(int index) { |
| 133 | if (data_->buffers[index] == nullptr || data_->buffers[index]->size() == 0) { |
| 134 | out_->buffers[index] = data_->buffers[index]; |
| 135 | return Status::OK(); |
| 136 | } |
| 137 | ARROW_ASSIGN_OR_RAISE(out_->buffers[index], |
| 138 | ByteSwapBuffer<VALUE_TYPE>(data_->buffers[index])); |
| 139 | return Status::OK(); |
| 140 | } |
| 141 | |
| 142 | template <typename T> |
| 143 | enable_if_t<std::is_base_of<FixedWidthType, T>::value && |
nothing calls this directly
no test coverage detected