blob: 596056907b00095218073d59ec607a811a9557ff [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Proton DotNet: Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Proton DotNet
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceApache.html">Apache</a></li><li class="navelem"><a class="el" href="namespaceApache_1_1Qpid.html">Qpid</a></li><li class="navelem"><a class="el" href="namespaceApache_1_1Qpid_1_1Proton.html">Proton</a></li><li class="navelem"><a class="el" href="namespaceApache_1_1Qpid_1_1Proton_1_1Codec.html">Codec</a></li><li class="navelem"><a class="el" href="namespaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders.html">Decoders</a></li><li class="navelem"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html">ProtonStreamDecoder</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder:</div>
<div class="dyncontent">
<div class="center">
<img src="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.png" usemap="#Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder_map" alt=""/>
<map id="Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder_map" name="Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder_map">
<area href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html" title="Defines a Decoder that handles translating the encoded AMQP performative bytes into the appropriate P..." alt="Apache.Qpid.Proton.Codec.IStreamDecoder" shape="rect" coords="0,0,357,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a763c4798097952c235be2dd0c98b68ae"><td class="memItemLeft" align="right" valign="top"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a763c4798097952c235be2dd0c98b68ae">NewDecoderState</a> ()</td></tr>
<tr class="memdesc:a763c4798097952c235be2dd0c98b68ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates and returns a new decoder state object that should be used when decoding values with the decoder instance. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a763c4798097952c235be2dd0c98b68ae">More...</a><br /></td></tr>
<tr class="separator:a763c4798097952c235be2dd0c98b68ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4895078260010c91fdebda0c1bcc5f1a"><td class="memItemLeft" align="right" valign="top">bool?&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a4895078260010c91fdebda0c1bcc5f1a">ReadBoolean</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:a4895078260010c91fdebda0c1bcc5f1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a4895078260010c91fdebda0c1bcc5f1a">More...</a><br /></td></tr>
<tr class="separator:a4895078260010c91fdebda0c1bcc5f1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94b24f6ef553a5ba64d7414cae7517e1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a94b24f6ef553a5ba64d7414cae7517e1">ReadBoolean</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state, bool defaultValue)</td></tr>
<tr class="memdesc:a94b24f6ef553a5ba64d7414cae7517e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it or the default if the encoding type is null. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a94b24f6ef553a5ba64d7414cae7517e1">More...</a><br /></td></tr>
<tr class="separator:a94b24f6ef553a5ba64d7414cae7517e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53a243cb4a065b734d77cc9b909805a3"><td class="memItemLeft" align="right" valign="top">sbyte?&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a53a243cb4a065b734d77cc9b909805a3">ReadByte</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:a53a243cb4a065b734d77cc9b909805a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a53a243cb4a065b734d77cc9b909805a3">More...</a><br /></td></tr>
<tr class="separator:a53a243cb4a065b734d77cc9b909805a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9cc2bc667e405d65b40128e957869424"><td class="memItemLeft" align="right" valign="top">sbyte&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a9cc2bc667e405d65b40128e957869424">ReadByte</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state, sbyte defaultValue)</td></tr>
<tr class="memdesc:a9cc2bc667e405d65b40128e957869424"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it or the default if the encoding type is null. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a9cc2bc667e405d65b40128e957869424">More...</a><br /></td></tr>
<tr class="separator:a9cc2bc667e405d65b40128e957869424"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab617f1173f646fdb6776430c456d0e7"><td class="memItemLeft" align="right" valign="top">byte?&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#aab617f1173f646fdb6776430c456d0e7">ReadUnsignedByte</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:aab617f1173f646fdb6776430c456d0e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#aab617f1173f646fdb6776430c456d0e7">More...</a><br /></td></tr>
<tr class="separator:aab617f1173f646fdb6776430c456d0e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ecff4248fc7d1e1d5aa325714f4e61f"><td class="memItemLeft" align="right" valign="top">byte&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a8ecff4248fc7d1e1d5aa325714f4e61f">ReadUnsignedByte</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state, byte defaultValue)</td></tr>
<tr class="memdesc:a8ecff4248fc7d1e1d5aa325714f4e61f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it or the default if the encoding type is null. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a8ecff4248fc7d1e1d5aa325714f4e61f">More...</a><br /></td></tr>
<tr class="separator:a8ecff4248fc7d1e1d5aa325714f4e61f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4936527899472031c2ff93d78190ca78"><td class="memItemLeft" align="right" valign="top">char?&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a4936527899472031c2ff93d78190ca78">ReadCharacter</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:a4936527899472031c2ff93d78190ca78"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a4936527899472031c2ff93d78190ca78">More...</a><br /></td></tr>
<tr class="separator:a4936527899472031c2ff93d78190ca78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fca651833da43c7dfd08f0a5642ea15"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a5fca651833da43c7dfd08f0a5642ea15">ReadCharacter</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state, char defaultValue)</td></tr>
<tr class="memdesc:a5fca651833da43c7dfd08f0a5642ea15"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it or the default if the encoding type is null. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a5fca651833da43c7dfd08f0a5642ea15">More...</a><br /></td></tr>
<tr class="separator:a5fca651833da43c7dfd08f0a5642ea15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b3cc5ecd4dd13fe034ba233f5a87c44"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Types_1_1Decimal32.html">Decimal32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a1b3cc5ecd4dd13fe034ba233f5a87c44">ReadDecimal32</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:a1b3cc5ecd4dd13fe034ba233f5a87c44"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a1b3cc5ecd4dd13fe034ba233f5a87c44">More...</a><br /></td></tr>
<tr class="separator:a1b3cc5ecd4dd13fe034ba233f5a87c44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bfffba67e10c242d4170384eaa6ccc5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Types_1_1Decimal64.html">Decimal64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a7bfffba67e10c242d4170384eaa6ccc5">ReadDecimal64</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:a7bfffba67e10c242d4170384eaa6ccc5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a7bfffba67e10c242d4170384eaa6ccc5">More...</a><br /></td></tr>
<tr class="separator:a7bfffba67e10c242d4170384eaa6ccc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a157c83beed75b44c3fa099742c6da7f1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Types_1_1Decimal128.html">Decimal128</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a157c83beed75b44c3fa099742c6da7f1">ReadDecimal128</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:a157c83beed75b44c3fa099742c6da7f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a157c83beed75b44c3fa099742c6da7f1">More...</a><br /></td></tr>
<tr class="separator:a157c83beed75b44c3fa099742c6da7f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a060048ebadf46356383aac7b1a5335e9"><td class="memItemLeft" align="right" valign="top">short?&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a060048ebadf46356383aac7b1a5335e9">ReadShort</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:a060048ebadf46356383aac7b1a5335e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a060048ebadf46356383aac7b1a5335e9">More...</a><br /></td></tr>
<tr class="separator:a060048ebadf46356383aac7b1a5335e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a640ab53baa6cbcb2ce38951abd6916cc"><td class="memItemLeft" align="right" valign="top">short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a640ab53baa6cbcb2ce38951abd6916cc">ReadShort</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state, short defaultValue)</td></tr>
<tr class="memdesc:a640ab53baa6cbcb2ce38951abd6916cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it or the default if the encoding type is null. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a640ab53baa6cbcb2ce38951abd6916cc">More...</a><br /></td></tr>
<tr class="separator:a640ab53baa6cbcb2ce38951abd6916cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4701f7c86917b0dde0407af4c52f4f24"><td class="memItemLeft" align="right" valign="top">ushort?&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a4701f7c86917b0dde0407af4c52f4f24">ReadUnsignedShort</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:a4701f7c86917b0dde0407af4c52f4f24"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a4701f7c86917b0dde0407af4c52f4f24">More...</a><br /></td></tr>
<tr class="separator:a4701f7c86917b0dde0407af4c52f4f24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac82c33d741d9b418d2c70a0e6577b893"><td class="memItemLeft" align="right" valign="top">ushort&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#ac82c33d741d9b418d2c70a0e6577b893">ReadUnsignedShort</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state, ushort defaultValue)</td></tr>
<tr class="memdesc:ac82c33d741d9b418d2c70a0e6577b893"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it or the default if the encoding type is null. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#ac82c33d741d9b418d2c70a0e6577b893">More...</a><br /></td></tr>
<tr class="separator:ac82c33d741d9b418d2c70a0e6577b893"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6147e1c81d841f48b085cdb3a588cb8a"><td class="memItemLeft" align="right" valign="top">int?&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a6147e1c81d841f48b085cdb3a588cb8a">ReadInt</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:a6147e1c81d841f48b085cdb3a588cb8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a6147e1c81d841f48b085cdb3a588cb8a">More...</a><br /></td></tr>
<tr class="separator:a6147e1c81d841f48b085cdb3a588cb8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2415a15b780bf556011c69a7bc039aaa"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a2415a15b780bf556011c69a7bc039aaa">ReadInt</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state, int defaultValue)</td></tr>
<tr class="memdesc:a2415a15b780bf556011c69a7bc039aaa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it or the default if the encoding type is null. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a2415a15b780bf556011c69a7bc039aaa">More...</a><br /></td></tr>
<tr class="separator:a2415a15b780bf556011c69a7bc039aaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a47647edf71a7a77c7155cbc376410a"><td class="memItemLeft" align="right" valign="top">uint?&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a6a47647edf71a7a77c7155cbc376410a">ReadUnsignedInteger</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:a6a47647edf71a7a77c7155cbc376410a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a6a47647edf71a7a77c7155cbc376410a">More...</a><br /></td></tr>
<tr class="separator:a6a47647edf71a7a77c7155cbc376410a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1af51348c7728d8af8155e767385909f"><td class="memItemLeft" align="right" valign="top">uint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a1af51348c7728d8af8155e767385909f">ReadUnsignedInteger</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state, uint defaultValue)</td></tr>
<tr class="memdesc:a1af51348c7728d8af8155e767385909f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it or the default if the encoding type is null. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a1af51348c7728d8af8155e767385909f">More...</a><br /></td></tr>
<tr class="separator:a1af51348c7728d8af8155e767385909f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7330c70c76d2970ddfbfd44f02c49c90"><td class="memItemLeft" align="right" valign="top">long?&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a7330c70c76d2970ddfbfd44f02c49c90">ReadLong</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:a7330c70c76d2970ddfbfd44f02c49c90"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a7330c70c76d2970ddfbfd44f02c49c90">More...</a><br /></td></tr>
<tr class="separator:a7330c70c76d2970ddfbfd44f02c49c90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab09a8937c93dca1daaba5872fb5ba9cb"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#ab09a8937c93dca1daaba5872fb5ba9cb">ReadLong</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state, long defaultValue)</td></tr>
<tr class="memdesc:ab09a8937c93dca1daaba5872fb5ba9cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it or the default if the encoding type is null. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#ab09a8937c93dca1daaba5872fb5ba9cb">More...</a><br /></td></tr>
<tr class="separator:ab09a8937c93dca1daaba5872fb5ba9cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64e1be946de7b7d6a68124928ec7279b"><td class="memItemLeft" align="right" valign="top">ulong?&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a64e1be946de7b7d6a68124928ec7279b">ReadUnsignedLong</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:a64e1be946de7b7d6a68124928ec7279b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a64e1be946de7b7d6a68124928ec7279b">More...</a><br /></td></tr>
<tr class="separator:a64e1be946de7b7d6a68124928ec7279b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a113122c076cfeea2809b46e83d98041c"><td class="memItemLeft" align="right" valign="top">ulong&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a113122c076cfeea2809b46e83d98041c">ReadUnsignedLong</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state, ulong defaultValue)</td></tr>
<tr class="memdesc:a113122c076cfeea2809b46e83d98041c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it or the default if the encoding type is null. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a113122c076cfeea2809b46e83d98041c">More...</a><br /></td></tr>
<tr class="separator:a113122c076cfeea2809b46e83d98041c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51afdebbfd8296aa91c88aed590dc089"><td class="memItemLeft" align="right" valign="top">float?&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a51afdebbfd8296aa91c88aed590dc089">ReadFloat</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:a51afdebbfd8296aa91c88aed590dc089"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a51afdebbfd8296aa91c88aed590dc089">More...</a><br /></td></tr>
<tr class="separator:a51afdebbfd8296aa91c88aed590dc089"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab21f94c3b69ed77728d6e2242969fb6f"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#ab21f94c3b69ed77728d6e2242969fb6f">ReadFloat</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state, float defaultValue)</td></tr>
<tr class="memdesc:ab21f94c3b69ed77728d6e2242969fb6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it or the default if the encoding type is null. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#ab21f94c3b69ed77728d6e2242969fb6f">More...</a><br /></td></tr>
<tr class="separator:ab21f94c3b69ed77728d6e2242969fb6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f102c1fe50aa853e5d4cd6e7e0a2ae8"><td class="memItemLeft" align="right" valign="top">double?&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a1f102c1fe50aa853e5d4cd6e7e0a2ae8">ReadDouble</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:a1f102c1fe50aa853e5d4cd6e7e0a2ae8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a1f102c1fe50aa853e5d4cd6e7e0a2ae8">More...</a><br /></td></tr>
<tr class="separator:a1f102c1fe50aa853e5d4cd6e7e0a2ae8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a611e4b03a8cd9ca709f84315b0d806ea"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a611e4b03a8cd9ca709f84315b0d806ea">ReadDouble</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state, double defaultValue)</td></tr>
<tr class="memdesc:a611e4b03a8cd9ca709f84315b0d806ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it or the default if the encoding type is null. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a611e4b03a8cd9ca709f84315b0d806ea">More...</a><br /></td></tr>
<tr class="separator:a611e4b03a8cd9ca709f84315b0d806ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8271dd63f85f7f237187d571164991a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Buffer_1_1IProtonBuffer.html">IProtonBuffer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#ad8271dd63f85f7f237187d571164991a">ReadBinary</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:ad8271dd63f85f7f237187d571164991a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#ad8271dd63f85f7f237187d571164991a">More...</a><br /></td></tr>
<tr class="separator:ad8271dd63f85f7f237187d571164991a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9231f0c33866925360cb44a8558b0417"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a9231f0c33866925360cb44a8558b0417">ReadString</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:a9231f0c33866925360cb44a8558b0417"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a9231f0c33866925360cb44a8558b0417">More...</a><br /></td></tr>
<tr class="separator:a9231f0c33866925360cb44a8558b0417"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9db8d58b2893013041dfea3441861da5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Types_1_1Symbol.html">Symbol</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a9db8d58b2893013041dfea3441861da5">ReadSymbol</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:a9db8d58b2893013041dfea3441861da5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a9db8d58b2893013041dfea3441861da5">More...</a><br /></td></tr>
<tr class="separator:a9db8d58b2893013041dfea3441861da5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb9780da3341dc914dc41cf5514493d8"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#afb9780da3341dc914dc41cf5514493d8">ReadSymbolAsString</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:afb9780da3341dc914dc41cf5514493d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#afb9780da3341dc914dc41cf5514493d8">More...</a><br /></td></tr>
<tr class="separator:afb9780da3341dc914dc41cf5514493d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1dd82d035299ed67cadcbd4e240a3eb"><td class="memItemLeft" align="right" valign="top">ulong?&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#ab1dd82d035299ed67cadcbd4e240a3eb">ReadTimestamp</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:ab1dd82d035299ed67cadcbd4e240a3eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#ab1dd82d035299ed67cadcbd4e240a3eb">More...</a><br /></td></tr>
<tr class="separator:ab1dd82d035299ed67cadcbd4e240a3eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64a9e5b972b5025365db0a5c760f5cf6"><td class="memItemLeft" align="right" valign="top">Guid?&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a64a9e5b972b5025365db0a5c760f5cf6">ReadGuid</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:a64a9e5b972b5025365db0a5c760f5cf6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a64a9e5b972b5025365db0a5c760f5cf6">More...</a><br /></td></tr>
<tr class="separator:a64a9e5b972b5025365db0a5c760f5cf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a486d174426e91e4cea7ac3acdf752f36"><td class="memItemLeft" align="right" valign="top">IDictionary&lt; K, V &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a486d174426e91e4cea7ac3acdf752f36">ReadMap&lt; K, V &gt;</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:a486d174426e91e4cea7ac3acdf752f36"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a486d174426e91e4cea7ac3acdf752f36">More...</a><br /></td></tr>
<tr class="separator:a486d174426e91e4cea7ac3acdf752f36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e6c63adac8875f1cf06d7c0a650bbe1"><td class="memItemLeft" align="right" valign="top"><a id="a7e6c63adac8875f1cf06d7c0a650bbe1"></a>
IList&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ReadList&lt; T &gt;</b> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="separator:a7e6c63adac8875f1cf06d7c0a650bbe1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a969ad93779f7fcc0fc59b2ca0d03490c"><td class="memItemLeft" align="right" valign="top">object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a969ad93779f7fcc0fc59b2ca0d03490c">ReadObject</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:a969ad93779f7fcc0fc59b2ca0d03490c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a969ad93779f7fcc0fc59b2ca0d03490c">More...</a><br /></td></tr>
<tr class="separator:a969ad93779f7fcc0fc59b2ca0d03490c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95dcf86c96c884601d2adc09db09b8bb"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a95dcf86c96c884601d2adc09db09b8bb">ReadObject&lt; T &gt;</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:a95dcf86c96c884601d2adc09db09b8bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a95dcf86c96c884601d2adc09db09b8bb">More...</a><br /></td></tr>
<tr class="separator:a95dcf86c96c884601d2adc09db09b8bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97ff2e76432032646ace60f23a9298c6"><td class="memItemLeft" align="right" valign="top">T[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a97ff2e76432032646ace60f23a9298c6">ReadMultiple&lt; T &gt;</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:a97ff2e76432032646ace60f23a9298c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a97ff2e76432032646ace60f23a9298c6">More...</a><br /></td></tr>
<tr class="separator:a97ff2e76432032646ace60f23a9298c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb4c6002b602b126e6408aa6746a1e7b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Types_1_1IDeliveryTag.html">IDeliveryTag</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#adb4c6002b602b126e6408aa6746a1e7b">ReadDeliveryTag</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:adb4c6002b602b126e6408aa6746a1e7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method expects to read a Binary encoded type from the provided stream and constructs a IDeliveryTag type that wraps the bytes encoded. If the encoding is NULL AMQP type then this method returns null. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#adb4c6002b602b126e6408aa6746a1e7b">More...</a><br /></td></tr>
<tr class="separator:adb4c6002b602b126e6408aa6746a1e7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a63ba8c4b7c4e4541c0bf98a160a10c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamTypeDecoder.html">IStreamTypeDecoder</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a7a63ba8c4b7c4e4541c0bf98a160a10c">ReadNextTypeDecoder</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:a7a63ba8c4b7c4e4541c0bf98a160a10c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads from the given IProtonstream instance and returns a <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1ITypeDecoder.html" title="Defines an interface for an decoder of a specific type.">ITypeDecoder</a> that can read the next encoded AMQP type from the byte stream. If an error occurs while attempting to read the encoded type a <a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a> is thrown. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a7a63ba8c4b7c4e4541c0bf98a160a10c">More...</a><br /></td></tr>
<tr class="separator:a7a63ba8c4b7c4e4541c0bf98a160a10c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07628c597849501e2423cd8a900904ab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamTypeDecoder.html">IStreamTypeDecoder</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a07628c597849501e2423cd8a900904ab">PeekNextTypeDecoder</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:a07628c597849501e2423cd8a900904ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Peeks ahead in the given IProtonstream instance and returns a <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1ITypeDecoder.html" title="Defines an interface for an decoder of a specific type.">ITypeDecoder</a> that can read the next encoded AMQP type from the byte stream. If an error occurs while attempting to read the encoded type a <a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a> is thrown. The underlying stream state is not modified as a result of calling the peek ahead operation and the returned decoder will not correctly be able to read the encoded type until the type encoding bytes are read. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a07628c597849501e2423cd8a900904ab">More...</a><br /></td></tr>
<tr class="separator:a07628c597849501e2423cd8a900904ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a256d54f82ce23960cb04b2a62a2d50f6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html">IStreamDecoder</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a256d54f82ce23960cb04b2a62a2d50f6">RegisterDescribedTypeDecoder</a> (<a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDescribedTypeDecoder.html">IStreamDescribedTypeDecoder</a> decoder)</td></tr>
<tr class="memdesc:a256d54f82ce23960cb04b2a62a2d50f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allows for a custom described type decoder to be registered with this decoder instance for use when decoding AMQP described types from incoming byte streams. <a href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a256d54f82ce23960cb04b2a62a2d50f6">More...</a><br /></td></tr>
<tr class="separator:a256d54f82ce23960cb04b2a62a2d50f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html">Apache.Qpid.Proton.Codec.IStreamDecoder</a></td></tr>
<tr class="memitem:a6c4ac671b8d3962d468e31872202b69c inherit pub_methods_interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder"><td class="memItemLeft" align="right" valign="top">IList&lt; V &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a6c4ac671b8d3962d468e31872202b69c">ReadList&lt; V &gt;</a> (Stream stream, <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> state)</td></tr>
<tr class="memdesc:a6c4ac671b8d3962d468e31872202b69c inherit pub_methods_interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. <a href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a6c4ac671b8d3962d468e31872202b69c">More...</a><br /></td></tr>
<tr class="separator:a6c4ac671b8d3962d468e31872202b69c inherit pub_methods_interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a7457ebbef8e5cc99bd310e0e60eadf77"><td class="memItemLeft" align="right" valign="top"><a id="a7457ebbef8e5cc99bd310e0e60eadf77"></a>
<a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td><td class="memItemRight" valign="bottom"><b>CachedDecoderState</b><code> [get]</code></td></tr>
<tr class="separator:a7457ebbef8e5cc99bd310e0e60eadf77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header properties_interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder"><td colspan="2" onclick="javascript:toggleInherit('properties_interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder')"><img src="closed.png" alt="-"/>&#160;Properties inherited from <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html">Apache.Qpid.Proton.Codec.IStreamDecoder</a></td></tr>
<tr class="memitem:af517c2ce0f929e29ff90b4a36b21dc81 inherit properties_interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder"><td class="memItemLeft" align="right" valign="top"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#af517c2ce0f929e29ff90b4a36b21dc81">CachedDecoderState</a><code> [get]</code></td></tr>
<tr class="memdesc:af517c2ce0f929e29ff90b4a36b21dc81 inherit properties_interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a cached decoder state instance that can be used be single threaded readers that use this decoder instance. <a href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#af517c2ce0f929e29ff90b4a36b21dc81">More...</a><br /></td></tr>
<tr class="separator:af517c2ce0f929e29ff90b4a36b21dc81 inherit properties_interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a763c4798097952c235be2dd0c98b68ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a763c4798097952c235be2dd0c98b68ae">&#9670;&nbsp;</a></span>NewDecoderState()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a> Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.NewDecoderState </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates and returns a new decoder state object that should be used when decoding values with the decoder instance. </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a569b7d8535bdbc6d3ddc5df02417e8b6">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a07628c597849501e2423cd8a900904ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07628c597849501e2423cd8a900904ab">&#9670;&nbsp;</a></span>PeekNextTypeDecoder()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamTypeDecoder.html">IStreamTypeDecoder</a> Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.PeekNextTypeDecoder </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Peeks ahead in the given IProtonstream instance and returns a <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1ITypeDecoder.html" title="Defines an interface for an decoder of a specific type.">ITypeDecoder</a> that can read the next encoded AMQP type from the byte stream. If an error occurs while attempting to read the encoded type a <a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a> is thrown. The underlying stream state is not modified as a result of calling the peek ahead operation and the returned decoder will not correctly be able to read the encoded type until the type encoding bytes are read. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">T</td><td>The type that the decoder handles</td></tr>
</table>
</dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a18dd22bc47e7fd8d01042246b9707395">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="ad8271dd63f85f7f237187d571164991a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8271dd63f85f7f237187d571164991a">&#9670;&nbsp;</a></span>ReadBinary()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Buffer_1_1IProtonBuffer.html">IProtonBuffer</a> Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadBinary </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a0579736f5669478afdbe52a2f774fa9d">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a4895078260010c91fdebda0c1bcc5f1a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4895078260010c91fdebda0c1bcc5f1a">&#9670;&nbsp;</a></span>ReadBoolean() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool? Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadBoolean </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a5e7abbe9d24219c7e7e96b2614c07910">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a94b24f6ef553a5ba64d7414cae7517e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94b24f6ef553a5ba64d7414cae7517e1">&#9670;&nbsp;</a></span>ReadBoolean() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadBoolean </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>defaultValue</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it or the default if the encoding type is null. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
<tr><td class="paramname">defaultValue</td><td>The default value to return for null encodings</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a64d3be342466c0a4df5e0ef59daf2d87">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a53a243cb4a065b734d77cc9b909805a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53a243cb4a065b734d77cc9b909805a3">&#9670;&nbsp;</a></span>ReadByte() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">sbyte? Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadByte </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a1e5fda6255959e48319f20abc53d5c0b">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a9cc2bc667e405d65b40128e957869424"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9cc2bc667e405d65b40128e957869424">&#9670;&nbsp;</a></span>ReadByte() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">sbyte Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadByte </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">sbyte&#160;</td>
<td class="paramname"><em>defaultValue</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it or the default if the encoding type is null. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
<tr><td class="paramname">defaultValue</td><td>The default value to return for null encodings</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#ab7c39f6c38a8757685cfb73b8cdce1f7">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a4936527899472031c2ff93d78190ca78"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4936527899472031c2ff93d78190ca78">&#9670;&nbsp;</a></span>ReadCharacter() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">char? Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadCharacter </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#afc7eef6e41e141b28100768842c0e503">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a5fca651833da43c7dfd08f0a5642ea15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5fca651833da43c7dfd08f0a5642ea15">&#9670;&nbsp;</a></span>ReadCharacter() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">char Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadCharacter </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char&#160;</td>
<td class="paramname"><em>defaultValue</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it or the default if the encoding type is null. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
<tr><td class="paramname">defaultValue</td><td>The default value to return for null encodings</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a50a5974553f508da1b390f17a129ca9f">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a157c83beed75b44c3fa099742c6da7f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a157c83beed75b44c3fa099742c6da7f1">&#9670;&nbsp;</a></span>ReadDecimal128()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Types_1_1Decimal128.html">Decimal128</a> Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadDecimal128 </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a92414ba46e75fb20869ae79afa2b9df1">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a1b3cc5ecd4dd13fe034ba233f5a87c44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b3cc5ecd4dd13fe034ba233f5a87c44">&#9670;&nbsp;</a></span>ReadDecimal32()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Types_1_1Decimal32.html">Decimal32</a> Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadDecimal32 </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#afca8778cb999959db133d182cee31f57">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a7bfffba67e10c242d4170384eaa6ccc5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7bfffba67e10c242d4170384eaa6ccc5">&#9670;&nbsp;</a></span>ReadDecimal64()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Types_1_1Decimal64.html">Decimal64</a> Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadDecimal64 </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a9841ddb905f7f30674e045cd6ec986be">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="adb4c6002b602b126e6408aa6746a1e7b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb4c6002b602b126e6408aa6746a1e7b">&#9670;&nbsp;</a></span>ReadDeliveryTag()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Types_1_1IDeliveryTag.html">IDeliveryTag</a> Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadDeliveryTag </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This method expects to read a Binary encoded type from the provided stream and constructs a IDeliveryTag type that wraps the bytes encoded. If the encoding is NULL AMQP type then this method returns null. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a880b845d1033f91b5e53f90213ec814a">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a1f102c1fe50aa853e5d4cd6e7e0a2ae8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f102c1fe50aa853e5d4cd6e7e0a2ae8">&#9670;&nbsp;</a></span>ReadDouble() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double? Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadDouble </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a2625a718aae0b9ac6f3b321224afa5b5">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a611e4b03a8cd9ca709f84315b0d806ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a611e4b03a8cd9ca709f84315b0d806ea">&#9670;&nbsp;</a></span>ReadDouble() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadDouble </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>defaultValue</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it or the default if the encoding type is null. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
<tr><td class="paramname">defaultValue</td><td>The default value to return for null encodings</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a2d9016bd74a609f3b3423f70d48147f0">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a51afdebbfd8296aa91c88aed590dc089"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a51afdebbfd8296aa91c88aed590dc089">&#9670;&nbsp;</a></span>ReadFloat() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">float? Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadFloat </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a63b111742a22431e89c97b63d51e31e2">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="ab21f94c3b69ed77728d6e2242969fb6f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab21f94c3b69ed77728d6e2242969fb6f">&#9670;&nbsp;</a></span>ReadFloat() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">float Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadFloat </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>defaultValue</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it or the default if the encoding type is null. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
<tr><td class="paramname">defaultValue</td><td>The default value to return for null encodings</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a8c96f2028deeeacc059f7ffbf007a0da">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a64a9e5b972b5025365db0a5c760f5cf6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64a9e5b972b5025365db0a5c760f5cf6">&#9670;&nbsp;</a></span>ReadGuid()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Guid? Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadGuid </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a616485a29895532962a8548dc65d948f">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a6147e1c81d841f48b085cdb3a588cb8a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6147e1c81d841f48b085cdb3a588cb8a">&#9670;&nbsp;</a></span>ReadInt() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int? Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadInt </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#aeb1fedbd39cc290468aee4a765666d97">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a2415a15b780bf556011c69a7bc039aaa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2415a15b780bf556011c69a7bc039aaa">&#9670;&nbsp;</a></span>ReadInt() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadInt </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>defaultValue</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it or the default if the encoding type is null. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
<tr><td class="paramname">defaultValue</td><td>The default value to return for null encodings</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a6751aea8f898d49d74615f2a7e27ae9a">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a7330c70c76d2970ddfbfd44f02c49c90"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7330c70c76d2970ddfbfd44f02c49c90">&#9670;&nbsp;</a></span>ReadLong() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">long? Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadLong </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#ae9b8ba97a9add5c82f0d4062c9f52bd2">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="ab09a8937c93dca1daaba5872fb5ba9cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab09a8937c93dca1daaba5872fb5ba9cb">&#9670;&nbsp;</a></span>ReadLong() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">long Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadLong </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">long&#160;</td>
<td class="paramname"><em>defaultValue</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it or the default if the encoding type is null. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
<tr><td class="paramname">defaultValue</td><td>The default value to return for null encodings</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#abc091f825d410b826ab2174f4e7c97c4">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a486d174426e91e4cea7ac3acdf752f36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a486d174426e91e4cea7ac3acdf752f36">&#9670;&nbsp;</a></span>ReadMap&lt; K, V &gt;()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">IDictionary&lt;K, V&gt; Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadMap&lt; K, V &gt; </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a5aad1f8b934acbcaaec119c73845fd29">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a97ff2e76432032646ace60f23a9298c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a97ff2e76432032646ace60f23a9298c6">&#9670;&nbsp;</a></span>ReadMultiple&lt; T &gt;()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">T [] Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadMultiple&lt; T &gt; </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a7f6b366808e4dcc190c3ec842c93bc52">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a7a63ba8c4b7c4e4541c0bf98a160a10c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a63ba8c4b7c4e4541c0bf98a160a10c">&#9670;&nbsp;</a></span>ReadNextTypeDecoder()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamTypeDecoder.html">IStreamTypeDecoder</a> Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadNextTypeDecoder </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads from the given IProtonstream instance and returns a <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1ITypeDecoder.html" title="Defines an interface for an decoder of a specific type.">ITypeDecoder</a> that can read the next encoded AMQP type from the byte stream. If an error occurs while attempting to read the encoded type a <a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a> is thrown. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">T</td><td>The type that the decoder handles</td></tr>
</table>
</dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a8bcd4fc4725ad551f00451e0f1561b93">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a969ad93779f7fcc0fc59b2ca0d03490c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a969ad93779f7fcc0fc59b2ca0d03490c">&#9670;&nbsp;</a></span>ReadObject()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">object Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadObject </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a42f5be68c6925ff6ede660e9eaa7a4bf">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a95dcf86c96c884601d2adc09db09b8bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a95dcf86c96c884601d2adc09db09b8bb">&#9670;&nbsp;</a></span>ReadObject&lt; T &gt;()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">T <a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1Decoders_1_1ProtonStreamDecoder.html#a969ad93779f7fcc0fc59b2ca0d03490c">Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadObject</a>&lt; T &gt; </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a0415874029e1636665be6930990ddcde">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a060048ebadf46356383aac7b1a5335e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a060048ebadf46356383aac7b1a5335e9">&#9670;&nbsp;</a></span>ReadShort() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">short? Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadShort </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#abbf40a4075e9bc50cea2f179b02c5e8d">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a640ab53baa6cbcb2ce38951abd6916cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a640ab53baa6cbcb2ce38951abd6916cc">&#9670;&nbsp;</a></span>ReadShort() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">short Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadShort </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">short&#160;</td>
<td class="paramname"><em>defaultValue</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it or the default if the encoding type is null. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
<tr><td class="paramname">defaultValue</td><td>The default value to return for null encodings</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#ae5862f7f6254eec87074cb79ceda19a8">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a9231f0c33866925360cb44a8558b0417"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9231f0c33866925360cb44a8558b0417">&#9670;&nbsp;</a></span>ReadString()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">string Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadString </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a844c7a8514e610e42f80f1a8435c3e79">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a9db8d58b2893013041dfea3441861da5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9db8d58b2893013041dfea3441861da5">&#9670;&nbsp;</a></span>ReadSymbol()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Types_1_1Symbol.html">Symbol</a> Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadSymbol </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#ad9cadabb2f8814c67b0456dfb85bec2f">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="afb9780da3341dc914dc41cf5514493d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb9780da3341dc914dc41cf5514493d8">&#9670;&nbsp;</a></span>ReadSymbolAsString()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">string Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadSymbolAsString </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a667a580e2c617f4f79fb2cdf23a44c4d">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="ab1dd82d035299ed67cadcbd4e240a3eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1dd82d035299ed67cadcbd4e240a3eb">&#9670;&nbsp;</a></span>ReadTimestamp()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ulong? Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadTimestamp </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a04aa4a9557954c998c795f2002e88452">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="aab617f1173f646fdb6776430c456d0e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab617f1173f646fdb6776430c456d0e7">&#9670;&nbsp;</a></span>ReadUnsignedByte() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">byte? Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadUnsignedByte </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a54f12e591546fecd6eb4a666cd136a05">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a8ecff4248fc7d1e1d5aa325714f4e61f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ecff4248fc7d1e1d5aa325714f4e61f">&#9670;&nbsp;</a></span>ReadUnsignedByte() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">byte Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadUnsignedByte </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">byte&#160;</td>
<td class="paramname"><em>defaultValue</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it or the default if the encoding type is null. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
<tr><td class="paramname">defaultValue</td><td>The default value to return for null encodings</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#ad9c38e18110970bf6f328bee96fc9b9b">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a6a47647edf71a7a77c7155cbc376410a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a47647edf71a7a77c7155cbc376410a">&#9670;&nbsp;</a></span>ReadUnsignedInteger() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint? Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadUnsignedInteger </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a26a4ccf49ceddcbdbd0c9b5bc5d6443f">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a1af51348c7728d8af8155e767385909f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1af51348c7728d8af8155e767385909f">&#9670;&nbsp;</a></span>ReadUnsignedInteger() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadUnsignedInteger </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint&#160;</td>
<td class="paramname"><em>defaultValue</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it or the default if the encoding type is null. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
<tr><td class="paramname">defaultValue</td><td>The default value to return for null encodings</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a72c92c5fcf660ec2a582cd62c15bd73c">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a64e1be946de7b7d6a68124928ec7279b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64e1be946de7b7d6a68124928ec7279b">&#9670;&nbsp;</a></span>ReadUnsignedLong() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ulong? Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadUnsignedLong </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#ab6acc77afbfe81bfb378c8835d9ba17b">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a113122c076cfeea2809b46e83d98041c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a113122c076cfeea2809b46e83d98041c">&#9670;&nbsp;</a></span>ReadUnsignedLong() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ulong Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadUnsignedLong </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">ulong&#160;</td>
<td class="paramname"><em>defaultValue</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it or the default if the encoding type is null. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
<tr><td class="paramname">defaultValue</td><td>The default value to return for null encodings</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a4042e962c5aa7c147743f2729b86a1bf">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a4701f7c86917b0dde0407af4c52f4f24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4701f7c86917b0dde0407af4c52f4f24">&#9670;&nbsp;</a></span>ReadUnsignedShort() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ushort? Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadUnsignedShort </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#a3e7f4396ce3f3cb6cd76f6aec8481a6a">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="ac82c33d741d9b418d2c70a0e6577b893"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac82c33d741d9b418d2c70a0e6577b893">&#9670;&nbsp;</a></span>ReadUnsignedShort() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ushort Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.ReadUnsignedShort </td>
<td>(</td>
<td class="paramtype">Stream&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoderState.html">IStreamDecoderState</a>&#160;</td>
<td class="paramname"><em>state</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">ushort&#160;</td>
<td class="paramname"><em>defaultValue</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the encoded value from the given byte stream and returns it or the default if the encoding type is null. If the next value in the byte stream is not of the requested type an error is thrown. If the caller wishes to recover from errors due to unexpected types the byte stream should be marked and reset in order to make additional read attempts. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stream</td><td>The stream to read the encoded value from</td></tr>
<tr><td class="paramname">state</td><td>A decoder state instance to use when decoding</td></tr>
<tr><td class="paramname">defaultValue</td><td>The default value to return for null encodings</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decoded object or null if the encoding was null.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classApache_1_1Qpid_1_1Proton_1_1Codec_1_1DecodeException.html">DecodeException</a></td><td>If an error occurs during the decode operation</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#ae0624da12b654a21713b1d55fa61eaf2">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<a id="a256d54f82ce23960cb04b2a62a2d50f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a256d54f82ce23960cb04b2a62a2d50f6">&#9670;&nbsp;</a></span>RegisterDescribedTypeDecoder()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html">IStreamDecoder</a> Apache.Qpid.Proton.Codec.Decoders.ProtonStreamDecoder.RegisterDescribedTypeDecoder </td>
<td>(</td>
<td class="paramtype"><a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDescribedTypeDecoder.html">IStreamDescribedTypeDecoder</a>&#160;</td>
<td class="paramname"><em>decoder</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Allows for a custom described type decoder to be registered with this decoder instance for use when decoding AMQP described types from incoming byte streams. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">decoder</td><td>A described type decoder to register</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>This <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IDecoder.html" title="Defines a Decoder that handles translating the encoded AMQP performative bytes into the appropriate P...">IDecoder</a> instance.</dd></dl>
<p>Implements <a class="el" href="interfaceApache_1_1Qpid_1_1Proton_1_1Codec_1_1IStreamDecoder.html#ab56041c46f1993cdd958058ee8ad95e3">Apache.Qpid.Proton.Codec.IStreamDecoder</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/Proton/Codec/Decoders/ProtonStreamDecoder.cs</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>