| 1452 | ~PayloadStreamWriter() override = default; |
| 1453 | |
| 1454 | Status WritePayload(const IpcPayload& payload) override { |
| 1455 | #ifndef NDEBUG |
| 1456 | // Catch bug fixed in ARROW-3236 |
| 1457 | RETURN_NOT_OK(UpdatePositionCheckAligned()); |
| 1458 | #endif |
| 1459 | |
| 1460 | int32_t metadata_length = 0; // unused |
| 1461 | RETURN_NOT_OK(WriteIpcPayload(payload, options_, sink_, &metadata_length)); |
| 1462 | RETURN_NOT_OK(UpdatePositionCheckAligned()); |
| 1463 | return Status::OK(); |
| 1464 | } |
| 1465 | |
| 1466 | Status Close() override { return WriteEOS(); } |
| 1467 | }; |
nothing calls this directly
no test coverage detected