| 759 | } |
| 760 | |
| 761 | arrow::Result<int64_t> |
| 762 | Tell() const override |
| 763 | { |
| 764 | if (!(G_IS_SEEKABLE(input_stream_) && |
| 765 | g_seekable_can_seek(G_SEEKABLE(input_stream_)))) { |
| 766 | std::string message("[gio-input-stream][tell] " |
| 767 | "not seekable input stream: <"); |
| 768 | message += G_OBJECT_CLASS_NAME(G_OBJECT_GET_CLASS(input_stream_)); |
| 769 | message += ">"; |
| 770 | return arrow::Status::NotImplemented(message); |
| 771 | } |
| 772 | |
| 773 | return g_seekable_tell(G_SEEKABLE(input_stream_)); |
| 774 | } |
| 775 | |
| 776 | arrow::Result<int64_t> |
| 777 | Read(int64_t n_bytes, void *out) override |
no test coverage detected