[ Web Proxy ]
URL:
Viewing: https://arrow.apache.org/docs/python/generated/../api/../../cpp/../r/reference/OutputStream.html [Back]  [Original]

OutputStream classes OutputStream Arrow R Package Skip to contents
Arrow R Package 25.0.1

FileOutputStream is for writing to a file; BufferOutputStream writes to a buffer; You can create one and pass it to any of the table writers, for example.

Factory

The $create() factory methods instantiate the OutputStream object and take the following arguments, depending on the subclass:

  • path For FileOutputStream, a character file name

  • initial_capacity For BufferOutputStream, the size in bytes of the buffer.

Methods

  • $tell(): return the position in the stream

  • $close(): close the stream

  • $write(x): send x to the stream

  • $capacity(): for BufferOutputStream

  • $finish(): for BufferOutputStream

  • $GetExtentBytesWritten(): for MockOutputStream, report how many bytes were sent.

On this page


Web Proxy Viewer  |  New URL  |  Original Page