Learn R Programming

RProtoBuf (version 0.4.22)

FileInputStream-class: Class "FileInputStream"

Description

A ZeroCopyInputStream reading from a file

Arguments

Objects from the Class

Objects can be created by the FileInputStream function

Slots

pointer:

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

Extends

Class "ZeroCopyInputStream", directly.

Methods

close

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

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="FileInputStream"): set the close on delete behavior.

See ZeroCopyInputStream for inherited methods

Author

Romain Francois <francoisromain@free.fr>

References

The FileInputStream class from the protobuf C++ library.

See Also

ZeroCopyInputStream for methods