<areahref="classcrashpad_1_1FileWriterInterface.html"title="An interface to write to files and other file-like objects with semantics matching the underlying pla..."alt="crashpad::FileWriterInterface"shape="rect"coords="0,56,182,80"/>
<areahref="classcrashpad_1_1FileSeekerInterface.html"title="An interface to seek in files and other file-like objects with semantics matching the underlying plat..."alt="crashpad::FileSeekerInterface"shape="rect"coords="0,0,182,24"/>
<trclass="memdesc:a6339ccd8d717911090ae0981bbbe2823"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Wraps <aclass="el"href="namespacecrashpad.html#a62fc6876cc0c660f0ea8bd1dd0a07e82"title="Wraps OpenFileForWrite(), logging an error if the operation fails. ">LoggingOpenFileForWrite()</a>. <ahref="#a6339ccd8d717911090ae0981bbbe2823">More...</a><br/></td></tr>
<trclass="memdesc:a88df535e600f9c9b57a44130de1d0eb0"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Wraps <aclass="el"href="namespacecrashpad.html#a8a91af9c690d2a280c463596bf82070b"title="Wraps WriteFile(), ensuring that exactly size bytes are written. ">LoggingWriteFile()</a>, or provides an implementation with identical semantics. <ahref="#a88df535e600f9c9b57a44130de1d0eb0">More...</a><br/></td></tr>
<trclass="memdesc:a841442d50f6edaacdfeafe859c42a876"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Wraps <code>writev()</code> on POSIX or provides an alternate implementation with identical semantics. This method will write entire buffers, continuing after a short write or after being interrupted. On non-POSIX this is a simple wrapper around <aclass="el"href="classcrashpad_1_1FileWriter.html#a88df535e600f9c9b57a44130de1d0eb0"title="Wraps LoggingWriteFile(), or provides an implementation with identical semantics. ...">Write()</a>. <ahref="#a841442d50f6edaacdfeafe859c42a876">More...</a><br/></td></tr>
<trclass="memitem:a2dbaf9ac2c3f1802fea09843127d24e2"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="namespacecrashpad.html#a1e53a1957d9edcba8b406ea632b6daf2">FileOffset</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="classcrashpad_1_1FileWriter.html#a2dbaf9ac2c3f1802fea09843127d24e2">Seek</a> (<aclass="el"href="namespacecrashpad.html#a1e53a1957d9edcba8b406ea632b6daf2">FileOffset</a> offset, int whence) override</td></tr>
<trclass="memdesc:a2dbaf9ac2c3f1802fea09843127d24e2"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Wraps <aclass="el"href="namespacecrashpad.html#a3d6cedc10e24145d4a0c1000c33f8a10"title="Wraps lseek() or SetFilePointerEx(). Logs an error if the operation fails. ">LoggingSeekFile()</a> or provides an alternate implementation with identical semantics. <ahref="#a2dbaf9ac2c3f1802fea09843127d24e2">More...</a><br/></td></tr>
<trclass="inherit_header pub_methods_classcrashpad_1_1FileSeekerInterface"><tdcolspan="2"onclick="javascript:toggleInherit('pub_methods_classcrashpad_1_1FileSeekerInterface')"><imgsrc="closed.png"alt="-"/> Public Member Functions inherited from <aclass="el"href="classcrashpad_1_1FileSeekerInterface.html">crashpad::FileSeekerInterface</a></td></tr>
<trclass="memdesc:a49a884bfb0a61461b0291c975aa15382 inherit pub_methods_classcrashpad_1_1FileSeekerInterface"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Wraps <aclass="el"href="classcrashpad_1_1FileSeekerInterface.html#a8d56f7d12dfcce3e4a39ad1524302aa1"title="Wraps LoggingSeekFile() or provides an alternate implementation with identical semantics. ">Seek()</a>, using <code>SEEK_CUR</code> to obtain the file’s current position. <ahref="classcrashpad_1_1FileSeekerInterface.html#a49a884bfb0a61461b0291c975aa15382">More...</a><br/></td></tr>
<trclass="memdesc:add2e1ee642d94c91ef722911e9aee250 inherit pub_methods_classcrashpad_1_1FileSeekerInterface"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Wraps <aclass="el"href="classcrashpad_1_1FileSeekerInterface.html#a8d56f7d12dfcce3e4a39ad1524302aa1"title="Wraps LoggingSeekFile() or provides an alternate implementation with identical semantics. ">Seek()</a>, using <code>SEEK_SET</code>, ensuring that the seek succeeded and the file is positioned as desired. <ahref="classcrashpad_1_1FileSeekerInterface.html#add2e1ee642d94c91ef722911e9aee250">More...</a><br/></td></tr>
<dlclass="section note"><dt>Note</dt><dd>It is only valid to call this method on an object that has had a successful <aclass="el"href="classcrashpad_1_1FileWriter.html#a6339ccd8d717911090ae0981bbbe2823"title="Wraps LoggingOpenFileForWrite(). ">Open()</a> that has not yet been matched by a subsequent call to this method. </dd></dl>
<p>Wraps <aclass="el"href="namespacecrashpad.html#a62fc6876cc0c660f0ea8bd1dd0a07e82"title="Wraps OpenFileForWrite(), logging an error if the operation fails. ">LoggingOpenFileForWrite()</a>. </p>
<dlclass="section return"><dt>Returns</dt><dd><code>true</code> if the operation succeeded, <code>false</code> if it failed, with an error message logged.</dd></dl>
<dlclass="section note"><dt>Note</dt><dd>After a successful call, this method cannot be called again until after <aclass="el"href="classcrashpad_1_1FileWriter.html#ab469a8fea3e50378b4125c049911b355"title="Wraps CheckedCloseHandle(). ">Close()</a>. </dd></dl>
<p>Wraps <aclass="el"href="namespacecrashpad.html#a3d6cedc10e24145d4a0c1000c33f8a10"title="Wraps lseek() or SetFilePointerEx(). Logs an error if the operation fails. ">LoggingSeekFile()</a> or provides an alternate implementation with identical semantics. </p>
<dlclass="section return"><dt>Returns</dt><dd>The return value of <aclass="el"href="namespacecrashpad.html#a3d6cedc10e24145d4a0c1000c33f8a10"title="Wraps lseek() or SetFilePointerEx(). Logs an error if the operation fails. ">LoggingSeekFile()</a>. <code>-1</code> on failure, with an error message logged.</dd></dl>
<dlclass="section note"><dt>Note</dt><dd>It is only valid to call this method between a successful <aclass="el"href="classcrashpad_1_1FileWriter.html#a6339ccd8d717911090ae0981bbbe2823"title="Wraps LoggingOpenFileForWrite(). ">Open()</a> and a <aclass="el"href="classcrashpad_1_1FileWriter.html#ab469a8fea3e50378b4125c049911b355"title="Wraps CheckedCloseHandle(). ">Close()</a>. </dd></dl>
<p>Wraps <aclass="el"href="namespacecrashpad.html#a8a91af9c690d2a280c463596bf82070b"title="Wraps WriteFile(), ensuring that exactly size bytes are written. ">LoggingWriteFile()</a>, or provides an implementation with identical semantics. </p>
<dlclass="section return"><dt>Returns</dt><dd><code>true</code> if the operation succeeded, <code>false</code> if it failed, with an error message logged.</dd></dl>
<dlclass="section note"><dt>Note</dt><dd>It is only valid to call this method between a successful <aclass="el"href="classcrashpad_1_1FileWriter.html#a6339ccd8d717911090ae0981bbbe2823"title="Wraps LoggingOpenFileForWrite(). ">Open()</a> and a <aclass="el"href="classcrashpad_1_1FileWriter.html#ab469a8fea3e50378b4125c049911b355"title="Wraps CheckedCloseHandle(). ">Close()</a>. </dd></dl>
<p>Wraps <code>writev()</code> on POSIX or provides an alternate implementation with identical semantics. This method will write entire buffers, continuing after a short write or after being interrupted. On non-POSIX this is a simple wrapper around <aclass="el"href="classcrashpad_1_1FileWriter.html#a88df535e600f9c9b57a44130de1d0eb0"title="Wraps LoggingWriteFile(), or provides an implementation with identical semantics. ...">Write()</a>. </p>
<dlclass="section return"><dt>Returns</dt><dd><code>true</code> if the operation succeeded, <code>false</code> if it failed, with an error message logged.</dd></dl>
<dlclass="section note"><dt>Note</dt><dd>The contents of <em>iovecs</em> are undefined when this method returns.</dd>
<dd>
It is only valid to call this method between a successful <aclass="el"href="classcrashpad_1_1FileWriter.html#a6339ccd8d717911090ae0981bbbe2823"title="Wraps LoggingOpenFileForWrite(). ">Open()</a> and a <aclass="el"href="classcrashpad_1_1FileWriter.html#ab469a8fea3e50378b4125c049911b355"title="Wraps CheckedCloseHandle(). ">Close()</a>. </dd></dl>