| 779 | } |
| 780 | |
| 781 | Status ReadContiguousPayload(io::InputStream* file, std::unique_ptr<Message>* message) { |
| 782 | ARROW_ASSIGN_OR_RAISE(*message, ReadMessage(file)); |
| 783 | if (*message == nullptr) { |
| 784 | return Status::Invalid("Unable to read metadata at offset"); |
| 785 | } |
| 786 | return Status::OK(); |
| 787 | } |
| 788 | |
| 789 | Result<RecordBatchWithMetadata> ReadRecordBatchInternal( |
| 790 | const Buffer& metadata, const std::shared_ptr<Schema>& schema, |
no test coverage detected