FileInputStream-class {RProtoBuf} | R Documentation |
Class "FileInputStream"
Description
A ZeroCopyInputStream reading from a file
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; useGetErrno
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(s)
Romain Francois <francoisromain@free.fr>
References
The FileInputStream
class from the protobuf C++ library.
See Also
ZeroCopyInputStream for methods