FileOutputStream-class: Class "FileOutputStream"

FileOutputStream-classR Documentation

Class "FileOutputStream"

Description

A ZeroCopyOutputStream reading from a file

Objects from the Class

Objects can be created by the FileOutputStream function

Slots

pointer:

External pointer to the google::protobuf::io::FileOutputStream C++ object

Extends

Class "ZeroCopyOutputStream", directly.

Methods

close

signature(con="FileOutputStream"): Flushes any buffers and closes the underlying file. Returns false if an error occurs during the process; use GetErrno to examine the error

flush

signature(con="FileOutputStream"): Flushes FileOutputStream's buffers but does not close the underlying file

GetErrno

signature(object="FileInputStream"): If an I/O error has occurred on this file descriptor, this is the errno from that error. Otherwise, this is zero. Once an error occurs, the stream is broken and all subsequent operations will fail.

SetCloseOnDelete

signature(object="FileOutputStream"): set the close on delete behavior.

See ZeroCopyOutputStream for inherited methods

Author(s)

Romain Francois <francoisromain@free.fr>

References

The FileOutputStream class from the protobuf C++ library.

See Also

ZeroCopyOutputStream for methods


eddelbuettel/rprotobuf documentation built on March 27, 2024, 12:22 p.m.