| 910 | |
| 911 | template <> |
| 912 | inline void TypedStatisticsImpl<FLBAType>::Copy(const FLBA& src, FLBA* dst, |
| 913 | ResizableBuffer* buffer) { |
| 914 | if (dst->ptr == src.ptr) return; |
| 915 | uint32_t len = descr_->type_length(); |
| 916 | PARQUET_THROW_NOT_OK(buffer->Resize(len, false)); |
| 917 | std::memcpy(buffer->mutable_data(), src.ptr, len); |
| 918 | *dst = FLBA(buffer->data()); |
| 919 | } |
| 920 | |
| 921 | template <> |
| 922 | inline void TypedStatisticsImpl<ByteArrayType>::Copy(const ByteArray& src, ByteArray* dst, |
no test coverage detected