Overview.htm
changeset 134 fda5141dff5d
parent 133 ecde9f975249
child 135 8bc65bdf4605
equal deleted inserted replaced
133:ecde9f975249 134:fda5141dff5d
  1299 										</dl>
  1299 										</dl>
  1300 									</li>
  1300 									</li>
  1301 
  1301 
  1302 									<li>
  1302 									<li>
  1303 										<dl class="switch">
  1303 										<dl class="switch">
  1304 											<dt>If <a>pendingRead</a>.<var>binaryAs</var> is any of "<code>arraybuffer</code>" or "<code>blob</code>"</dt>
  1304 											<dt>If <a>pendingRead</a>.<var>binaryAs</var> is "<code>arraybuffer</code>"</dt>
  1305 											<dd>
  1305 											<dd>
  1306 												<ol>
  1306 												<ol>
  1307 													<li>Set <var>result</var>.<a href="#widl-StreamReadResult-data">data</a> to an object of the type specified by <var>pendingRead.binaryAs</var> that represents binary data stored in <var>temporaryBuffer</var></li>
  1307 													<li>Set <var>result</var>.<a href="#widl-StreamReadResult-data">data</a> to an object of the type specified by <var>pendingRead.binaryAs</var> that represents binary data stored in <var>temporaryBuffer</var></li>
  1308 													<li>Let <var>amountConsumed</var> be the number of bytes in <var>temporaryBuffer</var></li>
  1308 													<li>Let <var>amountConsumed</var> be the number of bytes in <var>temporaryBuffer</var></li>
  1309 												</ol>
  1309 												</ol>
  1399 		</p>
  1399 		</p>
  1400 
  1400 
  1401 		<dl class="idl" title="enum StreamReadType">
  1401 		<dl class="idl" title="enum StreamReadType">
  1402 			<dt>as-is</dt>
  1402 			<dt>as-is</dt>
  1403 			<dd>Default. <code>read()</code> and <code>readUpTo()</code> return produced data as-is</dd>
  1403 			<dd>Default. <code>read()</code> and <code>readUpTo()</code> return produced data as-is</dd>
  1404 			<dt>blob</dt>
       
  1405 			<dd><code>read()</code> and <code>readUpTo()</code> attempt to convert produced data into a <a>Blob</a>, and then return it</dd>
       
  1406 			<dt>arraybuffer</dt>
  1404 			<dt>arraybuffer</dt>
  1407 			<dd><code>read()</code> and <code>readUpTo()</code> attempt to convert produced data into an <a>ArrayBuffer</a>, and then return it</dd>
  1405 			<dd><code>read()</code> and <code>readUpTo()</code> attempt to convert produced data into an <a>ArrayBuffer</a>, and then return it</dd>
  1408 			<dt>text</dt>
  1406 			<dt>text</dt>
  1409 			<dd><code>read()</code> and <code>readUpTo()</code> attempt to convert produced data into a <a>DOMString</a>, and then return it</dd>
  1407 			<dd><code>read()</code> and <code>readUpTo()</code> attempt to convert produced data into a <a>DOMString</a>, and then return it</dd>
  1410 			<dt>none</dt>
  1408 			<dt>none</dt>