\hypertarget{classplaso_1_1tarzan_1_1file_1_1generic__file_1_1_file_object}{}\section{plaso.\+tarzan.\+file.\+generic\+\_\+file.\+File\+Object Class Reference}
\label{classplaso_1_1tarzan_1_1file_1_1generic__file_1_1_file_object}\index{plaso.tarzan.file.generic\_file.FileObject@{plaso.tarzan.file.generic\_file.FileObject}}


Inheritance diagram for plaso.\+tarzan.\+file.\+generic\+\_\+file.\+File\+Object\+:
% FIG 0


Collaboration diagram for plaso.\+tarzan.\+file.\+generic\+\_\+file.\+File\+Object\+:
% FIG 1
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1generic__file_1_1_file_object_afdab7a99d9947c17ad1c87ba4a9abefb}{close}} (self)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1generic__file_1_1_file_object_aa523bbe2f09dd25e4a0676a49138b341}{read}} (self, size)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1generic__file_1_1_file_object_af5ebc3ca60feb76b8d9984758a39395c}{seek}} (self, offset, whence)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyVerb}Abstract class for a generic file.\end{DoxyVerb}
 

\subsection{Member Function Documentation}
\mbox{\Hypertarget{classplaso_1_1tarzan_1_1file_1_1generic__file_1_1_file_object_afdab7a99d9947c17ad1c87ba4a9abefb}\label{classplaso_1_1tarzan_1_1file_1_1generic__file_1_1_file_object_afdab7a99d9947c17ad1c87ba4a9abefb}} 
\index{plaso.tarzan.file.generic\_file.FileObject@{plaso.tarzan.file.generic\_file.FileObject}!close@{close}}
\index{close@{close}!plaso.tarzan.file.generic\_file.FileObject@{plaso.tarzan.file.generic\_file.FileObject}}
\subsubsection{\texorpdfstring{close()}{close()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+file.\+generic\+\_\+file.\+File\+Object.\+close (\begin{DoxyParamCaption}\item[{}]{self }\end{DoxyParamCaption})}

\begin{DoxyVerb}Close the file.
\end{DoxyVerb}
 

Reimplemented in \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_a908aad94d488b9ad4ef53d4183efd346}{plaso.\+tarzan.\+file.\+hdfs\+\_\+file.\+Hdfs\+File\+Object}}, and \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_a0b3ed1b9796a1efd41b499196903f27c}{plaso.\+tarzan.\+file.\+file.\+Local\+File\+Object}}.

\mbox{\Hypertarget{classplaso_1_1tarzan_1_1file_1_1generic__file_1_1_file_object_aa523bbe2f09dd25e4a0676a49138b341}\label{classplaso_1_1tarzan_1_1file_1_1generic__file_1_1_file_object_aa523bbe2f09dd25e4a0676a49138b341}} 
\index{plaso.tarzan.file.generic\_file.FileObject@{plaso.tarzan.file.generic\_file.FileObject}!read@{read}}
\index{read@{read}!plaso.tarzan.file.generic\_file.FileObject@{plaso.tarzan.file.generic\_file.FileObject}}
\subsubsection{\texorpdfstring{read()}{read()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+file.\+generic\+\_\+file.\+File\+Object.\+read (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{size }\end{DoxyParamCaption})}

\begin{DoxyVerb}Reads a byte string from the file-like object at the current offset.
The function will read a byte string of the specified size or all of the remaining data
if no size was specified.
:param size: number of bytes to read, where None is all remaining data
:return: data read
\end{DoxyVerb}
 

Reimplemented in \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_ac514f3d397055b421a05d0f6f66af024}{plaso.\+tarzan.\+file.\+hdfs\+\_\+file.\+Hdfs\+File\+Object}}, and \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_a5e0e7188f58f0dc2e54847c66dd457cd}{plaso.\+tarzan.\+file.\+file.\+Local\+File\+Object}}.

\mbox{\Hypertarget{classplaso_1_1tarzan_1_1file_1_1generic__file_1_1_file_object_af5ebc3ca60feb76b8d9984758a39395c}\label{classplaso_1_1tarzan_1_1file_1_1generic__file_1_1_file_object_af5ebc3ca60feb76b8d9984758a39395c}} 
\index{plaso.tarzan.file.generic\_file.FileObject@{plaso.tarzan.file.generic\_file.FileObject}!seek@{seek}}
\index{seek@{seek}!plaso.tarzan.file.generic\_file.FileObject@{plaso.tarzan.file.generic\_file.FileObject}}
\subsubsection{\texorpdfstring{seek()}{seek()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+file.\+generic\+\_\+file.\+File\+Object.\+seek (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{offset,  }\item[{}]{whence }\end{DoxyParamCaption})}

\begin{DoxyVerb}Set a position in the file for future reading or writing.
:param offset: the position as an offset
:param whence: from where the position should be reached (the beginning, the end, etc.)
\end{DoxyVerb}
 

Reimplemented in \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_ad2a0ad1ac694132c5cd3a37aacd6e4ac}{plaso.\+tarzan.\+file.\+file.\+Local\+File\+Object}}, and \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_a634731778d3cd073ace55c539945653d}{plaso.\+tarzan.\+file.\+hdfs\+\_\+file.\+Hdfs\+File\+Object}}.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
/home/rychly/repos/pyspark-\/plaso/src/plaso/tarzan/file/\mbox{\hyperlink{generic__file_8py}{generic\+\_\+file.\+py}}\end{DoxyCompactItemize}
