Dryad/html/ceab139e-eca2-9ea8-9755-16c...

11 lines
6.0 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<html><head><meta http-equiv="X-UA-Compatible" content="IE=edge" /><link rel="shortcut icon" href="../icons/favicon.ico" /><style type="text/css">.OH_CodeSnippetContainerTabLeftActive, .OH_CodeSnippetContainerTabLeft,.OH_CodeSnippetContainerTabLeftDisabled { }.OH_CodeSnippetContainerTabRightActive, .OH_CodeSnippetContainerTabRight,.OH_CodeSnippetContainerTabRightDisabled { }.OH_footer { }</style><link rel="stylesheet" type="text/css" href="../styles/branding.css" /><link rel="stylesheet" type="text/css" href="../styles/branding-en-US.css" /><script type="text/javascript" src="../scripts/branding.js"> </script><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>DryadLinqBinaryReader.ReadRawBytes Method </title><meta name="Language" content="en-us" /><meta name="System.Keywords" content="ReadRawBytes method" /><meta name="System.Keywords" content="DryadLinqBinaryReader.ReadRawBytes method" /><meta name="Microsoft.Help.F1" content="Microsoft.Research.DryadLinq.DryadLinqBinaryReader.ReadRawBytes" /><meta name="Microsoft.Help.Id" content="M:Microsoft.Research.DryadLinq.DryadLinqBinaryReader.ReadRawBytes(System.Byte*,System.Int32)" /><meta name="Description" content="public helper to read into a byte*, mainly used to read preallocated fixed size, non-integer types (Array, Guid, decimal etc)" /><meta name="Microsoft.Help.ContentType" content="Reference" /><meta name="BrandingAware" content="true" /><meta name="container" content="Microsoft.Research.DryadLinq" /><meta name="file" content="ceab139e-eca2-9ea8-9755-16c24400b59b" /><meta name="guid" content="ceab139e-eca2-9ea8-9755-16c24400b59b" /></head><body onload="OnLoad('cs')"><input type="hidden" id="userDataCache" class="userDataStyle" /><div class="OH_outerDiv"><div class="OH_outerContent"><table class="TitleTable"><tr><td class="OH_tdTitleColumn">DryadLinqBinaryReader<span id="LST60646AE9_0"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST60646AE9_0?cpp=::|nu=.");</script>ReadRawBytes Method </td><td class="OH_tdRunningTitleColumn">DryadLINQ documentation</td></tr></table><div id="mainSection"><div id="mainBody"><span class="introStyle"></span><div class="summary">
public helper to read into a byte*, mainly used to read preallocated fixed size,
non-integer types (Array, Guid, decimal etc)
</div><p> </p><strong>Namespace:</strong> <a href="efe6507e-9fd8-bbd3-8227-fd6ba9e289c1.htm">Microsoft.Research.DryadLinq</a><br /><strong>Assembly:</strong> Microsoft.Research.DryadLinq (in Microsoft.Research.DryadLinq.dll) Version: 0.2.1.0 (0.2.1.0)<div class="OH_CollapsibleAreaRegion"><div class="OH_regiontitle">Syntax</div><div class="OH_CollapsibleArea_HrDiv"><hr class="OH_CollapsibleArea_Hr" /></div></div><div class="OH_clear"> </div><div class="OH_CodeSnippetContainer"><div class="OH_CodeSnippetContainerTabs"><div class="OH_CodeSnippetContainerTabLeft" id="ID0ECCA_tabimgleft"> </div><div id="ID0ECCA_tab1" class="OH_CodeSnippetContainerTabFirst"><a href="#" onclick="javascript:ChangeTab('ID0ECCA','cs','1','3');return false;">C#</a></div><div id="ID0ECCA_tab2" class="OH_CodeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0ECCA','vb','2','3');return false;">VB</a></div><div id="ID0ECCA_tab3" class="OH_CodeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0ECCA','cpp','3','3');return false;">C++</a></div><div class="OH_CodeSnippetContainerTabRight" id="ID0ECCA_tabimgright"> </div></div><div class="OH_CodeSnippetContainerCodeCollection"><div class="OH_CodeSnippetToolBar"><div class="OH_CodeSnippetToolBarText"><a id="ID0ECCA_copyCode" href="#" onclick="javascript:CopyToClipboard('ID0ECCA');return false;" title="Copy">Copy</a></div></div><div id="ID0ECCA_code_Div1" class="OH_CodeSnippetContainerCode" style="display: block"><pre xml:space="preserve"><span class="keyword">public</span> <span class="keyword">void</span> <span class="identifier">ReadRawBytes</span>(
<span class="identifier">byte</span>* <span class="parameter">pBytes</span>,
<span class="identifier">int</span> <span class="parameter">numBytes</span>
)</pre></div><div id="ID0ECCA_code_Div2" class="OH_CodeSnippetContainerCode" style="display: none"><pre xml:space="preserve"><span class="message">Visual Basic does not support APIs that consume or return unsafe types.</span></pre></div><div id="ID0ECCA_code_Div3" class="OH_CodeSnippetContainerCode" style="display: none"><pre xml:space="preserve"><span class="keyword">public</span>:
<span class="keyword">void</span> <span class="identifier">ReadRawBytes</span>(
<span class="identifier">unsigned char</span>* <span class="parameter">pBytes</span>,
<span class="identifier">int</span> <span class="parameter">numBytes</span>
)</pre></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0ECCA");</script><h4 class="subHeading">Parameters</h4><dl><dt><span class="parameter">pBytes</span></dt><dd>Type: <a href="http://msdn2.microsoft.com/en-us/library/yyb1w04y" target="_blank">System<span id="LST60646AE9_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST60646AE9_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>Byte</a>*<br />The pointer to the pre-allocated byte array to read data into</dd><dt><span class="parameter">numBytes</span></dt><dd>Type: <a href="http://msdn2.microsoft.com/en-us/library/td2s409d" target="_blank">System<span id="LST60646AE9_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST60646AE9_2?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>Int32</a><br />The number of bytes to read</dd></dl><div class="OH_CollapsibleAreaRegion" id="seeAlsoSection"><div class="OH_regiontitle">See Also</div><div class="OH_CollapsibleArea_HrDiv"><hr class="OH_CollapsibleArea_Hr" /></div></div><div class="OH_clear"> </div><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="e2f6b120-72cd-d97c-d0c9-9ab1b4abb5b5.htm">DryadLinqBinaryReader Class</a></div><div class="seeAlsoStyle"><a href="efe6507e-9fd8-bbd3-8227-fd6ba9e289c1.htm">Microsoft.Research.DryadLinq Namespace</a></div></div></div></div></div><div id="OH_footer" class="OH_footer"> </div></body></html>