<ahref="#pub-methods">Public Member Functions</a>|
<ahref="classcrashpad_1_1internal_1_1ReadExactlyInternal-members.html">List of all members</a></div>
<divclass="headertitle">
<divclass="title">crashpad::internal::ReadExactlyInternal Class Reference<spanclass="mlabels"><spanclass="mlabel">abstract</span></span></div></div>
</div><!--header-->
<divclass="contents">
<p>The internal implementation of <aclass="el"href="namespacecrashpad.html#a6e685af255d9b71fb46ed2679329dd7c"title="Wraps ReadFile(), retrying following a short read, ensuring that exactly size bytes are read...">ReadFileExactly()</a> and its wrappers.
<trclass="memdesc:a964b12b0f1f74cd061148a8001fab077"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Calls Read(), retrying following a short read, ensuring that exactly <em>size</em> bytes are read. <ahref="#a964b12b0f1f74cd061148a8001fab077">More...</a><br/></td></tr>
<divclass="textblock"><p>The internal implementation of <aclass="el"href="namespacecrashpad.html#a6e685af255d9b71fb46ed2679329dd7c"title="Wraps ReadFile(), retrying following a short read, ensuring that exactly size bytes are read...">ReadFileExactly()</a> and its wrappers. </p>
<p>The logic is exposed so that it may be reused by <aclass="el"href="classcrashpad_1_1FileReaderInterface.html"title="An interface to read to files and other file-like objects with semantics matching the underlying plat...">FileReaderInterface</a>, and so that it may be tested without requiring large files to be read. It is not intended to be used more generally. Use <aclass="el"href="namespacecrashpad.html#a6e685af255d9b71fb46ed2679329dd7c"title="Wraps ReadFile(), retrying following a short read, ensuring that exactly size bytes are read...">ReadFileExactly()</a>, <aclass="el"href="namespacecrashpad.html#ac3fb8955565f605e08c1e30562fbdb7a"title="Wraps ReadFile(), retrying following a short read, ensuring that exactly size bytes are read...">LoggingReadFileExactly()</a>, <aclass="el"href="namespacecrashpad.html#a00e03e19185b0fde6301be6b113628cb"title="Wraps ReadFile(), ensuring that exactly size bytes are read. ">CheckedReadFileExactly()</a>, or <aclass="el"href="classcrashpad_1_1FileReaderInterface.html#ad046f1ebf1071eb6b92a2a8d06c14a56"title="Wraps Read(), ensuring that the read succeeded and exactly size bytes were read. ">FileReaderInterface::ReadExactly()</a> instead. </p>
</div><h2class="groupheader">Member Function Documentation</h2>
<p>Calls Read(), retrying following a short read, ensuring that exactly <em>size</em> bytes are read. </p>
<dlclass="section return"><dt>Returns</dt><dd><code>true</code> on success. <code>false</code> if the underlying Read() fails or if fewer than <em>size</em> bytes were read. When returning <code>false</code>, if <em>can_log</em> is <code>true</code>, logs a message. </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>util/file/file_io.h</li>
<li>util/file/file_io.cc</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hrclass="footer"/><addressclass="footer"><small>
Generated by  <ahref="http://www.doxygen.org/index.html">