| 878 | |
| 879 | template <> |
| 880 | inline void TypedStatisticsImpl<FLBAType>::Copy(const FLBA& src, FLBA* dst, |
| 881 | ResizableBuffer* buffer) { |
| 882 | if (dst->ptr == src.ptr) return; |
| 883 | uint32_t len = descr_->type_length(); |
| 884 | PARQUET_THROW_NOT_OK(buffer->Resize(len, false)); |
| 885 | std::memcpy(buffer->mutable_data(), src.ptr, len); |
| 886 | *dst = FLBA(buffer->data()); |
| 887 | } |
| 888 | |
| 889 | template <> |
| 890 | inline void TypedStatisticsImpl<ByteArrayType>::Copy(const ByteArray& src, ByteArray* dst, |
no test coverage detected