| 794 | } |
| 795 | |
| 796 | Status ReadContiguousPayload(io::InputStream* file, std::unique_ptr<Message>* message) { |
| 797 | ARROW_ASSIGN_OR_RAISE(*message, ReadMessage(file)); |
| 798 | if (*message == nullptr) { |
| 799 | return Status::Invalid("Unable to read metadata at offset"); |
| 800 | } |
| 801 | return Status::OK(); |
| 802 | } |
| 803 | |
| 804 | Result<RecordBatchWithMetadata> ReadRecordBatchInternal( |
| 805 | const Buffer& metadata, const std::shared_ptr<Schema>& schema, |
no test coverage detected