

The view becomes invalid after any operation on the stream. Return zero-copy string_view to upcoming bytes.ĭo not modify the stream position. Public Functions Status Advance (int64_t nbytes ) ¶Īdvance or skip stream indicated number of bytes. Subclassed by arrow::io::internal::InputStreamConcurrencyWrapper, arrow::io::RandomAccessFile, arrow::io::StdinStream, arrow::io::TransformInputStream, arrow::io::internal::InputStreamConcurrencyWrapper, arrow::io::internal::InputStreamConcurrencyWrapper, arrow::io::SlowInputStreamBase class arrow::io :: InputStream : public virtual arrow::io:: FileInterface, public virtual arrow::io:: Readable ¶ Status Flush ( ) ¶įlush buffered bytes, if any. See Write(const void*, int64_t) for details. Since the Buffer owns its memory, this method can avoid a copy if buffering is required. Status Write ( const std::shared_ptr & data ) ¶ To avoid potentially large copies, use the Write variant that takes an owned Buffer. In the case where the stream buffers the data, it will be copied.

Depending on the semantics of the stream, the data may be written out immediately, held in a buffer, or written asynchronously.

This method always processes the bytes in full.

Arrow.io, a brand new io game for real players - The Most fun IO GameĬontrol the hero and defeat others, then you win the game!
