| 79 | } |
| 80 | |
| 81 | std::unique_ptr<ByteInputStream> toByteStream(const std::string& input) { |
| 82 | std::vector<ByteRange> ranges; |
| 83 | ranges.push_back( |
| 84 | {reinterpret_cast<uint8_t*>(const_cast<char*>(input.data())), |
| 85 | (int32_t)input.length(), |
| 86 | 0}); |
| 87 | return std::make_unique<ByteInputStream>(std::move(ranges)); |
| 88 | } |
| 89 | |
| 90 | RowVectorPtr deserialize( |
| 91 | const RowTypePtr& rowType, |
no test coverage detected