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