| 881 | } |
| 882 | |
| 883 | Status FinishFixedWidth(const void* data, size_t data_length) { |
| 884 | std::shared_ptr<Buffer> buffer; |
| 885 | RETURN_NOT_OK(CreateBufferOf(data, data_length, &buffer)); |
| 886 | out_ = MakeArray( |
| 887 | ArrayData::Make(scalar_.type, length_, {nullptr, std::move(buffer)}, 0)); |
| 888 | return Status::OK(); |
| 889 | } |
| 890 | |
| 891 | MemoryPool* pool_; |
| 892 | const Scalar& scalar_; |