blob: 6e5fbcaef415f28b72d1e89aefcc2fb17401c47d [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.11) on Wed May 12 10:10:59 EDT 2021 -->
<title>StreamDecoder (Qpid ProtonJ2 Parent 1.0.0-M1 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2021-05-12">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="StreamDecoder (Qpid ProtonJ2 Parent 1.0.0-M1 API)";
}
}
catch(err) {
}
//-->
var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":6,"i40":6,"i41":6,"i42":6,"i43":6,"i44":6,"i45":6,"i46":6,"i47":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/StreamDecoder.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.qpid.protonj2.codec</a></div>
<h2 title="Interface StreamDecoder" class="title">Interface StreamDecoder</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><code><a href="decoders/ProtonStreamDecoder.html" title="class in org.apache.qpid.protonj2.codec.decoders">ProtonStreamDecoder</a></code></dd>
</dl>
<hr>
<pre>public interface <span class="typeNameLabel">StreamDecoder</span></pre>
<div class="block">Decode AMQP types from a <code>InputStream</code></div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCachedDecoderState()">getCachedDecoderState</a></span>()</code></th>
<td class="colLast">
<div class="block">Return a singleton <a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoderState</code></a> instance that is meant to be shared within single threaded
decoder interactions.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newDecoderState()">newDecoderState</a></span>()</code></th>
<td class="colLast">
<div class="block">Creates a new <a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoderState</code></a> instance that can be used when interacting with the
Decoder.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="StreamTypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamTypeDecoder</a>&lt;?&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#peekNextTypeDecoder(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">peekNextTypeDecoder</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">
<div class="block">Peeks ahead in the given <code>InputStream</code> instance and returns a <a href="TypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>TypeDecoder</code></a> that can
read the next encoded AMQP type from the stream's bytes.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../types/Binary.html" title="class in org.apache.qpid.protonj2.types">Binary</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readBinary(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readBinary</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../buffer/ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readBinaryAsBuffer(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readBinaryAsBuffer</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.lang.Boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readBoolean(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readBoolean</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readBoolean(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,boolean)">readBoolean</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
boolean&nbsp;defaultValue)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>java.lang.Byte</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readByte</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>byte</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,byte)">readByte</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
byte&nbsp;defaultValue)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>java.lang.Character</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readCharacter(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readCharacter</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>char</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readCharacter(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,char)">readCharacter</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
char&nbsp;defaultValue)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../types/Decimal128.html" title="class in org.apache.qpid.protonj2.types">Decimal128</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readDecimal128(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readDecimal128</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../types/Decimal32.html" title="class in org.apache.qpid.protonj2.types">Decimal32</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readDecimal32(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readDecimal32</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../types/Decimal64.html" title="class in org.apache.qpid.protonj2.types">Decimal64</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readDecimal64(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readDecimal64</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../types/DeliveryTag.html" title="interface in org.apache.qpid.protonj2.types">DeliveryTag</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readDeliveryTag(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readDeliveryTag</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">
<div class="block">This method expects to read a <a href="../types/Binary.html" title="class in org.apache.qpid.protonj2.types"><code>Binary</code></a> encoded type from the provided buffer and
constructs a <a href="../types/DeliveryTag.html" title="interface in org.apache.qpid.protonj2.types"><code>DeliveryTag</code></a> type that wraps the bytes encoded.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>java.lang.Double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readDouble(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readDouble</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readDouble(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,double)">readDouble</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
double&nbsp;defaultValue)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>java.lang.Float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readFloat(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readFloat</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readFloat(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,float)">readFloat</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
float&nbsp;defaultValue)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>java.lang.Integer</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readInteger</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,int)">readInteger</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
int&nbsp;defaultValue)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>&lt;V&gt;&nbsp;java.util.List&lt;V&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readList(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readList</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>java.lang.Long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readLong</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)">readLong</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
long&nbsp;defaultValue)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>&lt;K,&#8203;V&gt;<br>java.util.Map&lt;K,&#8203;V&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readMap(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readMap</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readMultiple(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,java.lang.Class)">readMultiple</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
java.lang.Class&lt;T&gt;&nbsp;clazz)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code><a href="StreamTypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamTypeDecoder</a>&lt;?&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readNextTypeDecoder(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readNextTypeDecoder</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">
<div class="block">Reads from the given <code>InputStream</code> instance and returns a <a href="StreamTypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamTypeDecoder</code></a> that can
read the next encoded AMQP type from the stream's bytes.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readObject(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readObject</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readObject(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,java.lang.Class)">readObject</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
java.lang.Class&lt;T&gt;&nbsp;clazz)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>java.lang.Short</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readShort</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>short</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,short)">readShort</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
short&nbsp;defaultValue)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readString(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readString</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code><a href="../types/Symbol.html" title="class in org.apache.qpid.protonj2.types">Symbol</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readSymbol(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readSymbol</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readSymbol(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,java.lang.String)">readSymbol</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
java.lang.String&nbsp;defaultValue)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>java.lang.Long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readTimestamp(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readTimestamp</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readTimestamp(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)">readTimestamp</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
long&nbsp;defaultValue)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code><a href="../types/UnsignedByte.html" title="class in org.apache.qpid.protonj2.types">UnsignedByte</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readUnsignedByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readUnsignedByte</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>byte</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readUnsignedByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,byte)">readUnsignedByte</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
byte&nbsp;defaultValue)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code><a href="../types/UnsignedInteger.html" title="class in org.apache.qpid.protonj2.types">UnsignedInteger</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readUnsignedInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readUnsignedInteger</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readUnsignedInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,int)">readUnsignedInteger</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
int&nbsp;defaultValue)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readUnsignedInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)">readUnsignedInteger</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
long&nbsp;defaultValue)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code><a href="../types/UnsignedLong.html" title="class in org.apache.qpid.protonj2.types">UnsignedLong</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readUnsignedLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readUnsignedLong</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readUnsignedLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)">readUnsignedLong</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
long&nbsp;defaultValue)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code><a href="../types/UnsignedShort.html" title="class in org.apache.qpid.protonj2.types">UnsignedShort</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readUnsignedShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readUnsignedShort</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readUnsignedShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,int)">readUnsignedShort</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
int&nbsp;defaultValue)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code>short</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readUnsignedShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,short)">readUnsignedShort</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
short&nbsp;defaultValue)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code>java.util.UUID</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readUUID(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readUUID</a></span>&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code>&lt;V&gt;&nbsp;<a href="StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#registerDescribedTypeDecoder(org.apache.qpid.protonj2.codec.StreamDescribedTypeDecoder)">registerDescribedTypeDecoder</a></span>&#8203;(<a href="StreamDescribedTypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDescribedTypeDecoder</a>&lt;V&gt;&nbsp;decoder)</code></th>
<td class="colLast">
<div class="block">Allows custom <a href="StreamDescribedTypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDescribedTypeDecoder</code></a> instances to be registered with this <a href="StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoder</code></a>
which will be used if the described type encoding is encountered during decode operations.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="newDecoderState()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newDecoderState</h4>
<pre class="methodSignature"><a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;newDecoderState()</pre>
<div class="block">Creates a new <a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoderState</code></a> instance that can be used when interacting with the
Decoder. For decoding that occurs on more than one thread while sharing a single
<a href="StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoder</code></a> instance a different state object per thread is required as the
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoderState</code></a> object can retain some state information during the decode process
that could be corrupted if more than one thread were to share a single instance.
For single threaded decoding work the <a href="StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoder</code></a> offers a utility
cached <a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoderState</code></a> API that will return the same instance on each call which can
reduce allocation overhead and make using the <a href="StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoder</code></a> simpler.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a newly constructed <a href="EncoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>EncoderState</code></a> instance.</dd>
</dl>
</li>
</ul>
<a id="getCachedDecoderState()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCachedDecoderState</h4>
<pre class="methodSignature"><a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;getCachedDecoderState()</pre>
<div class="block">Return a singleton <a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoderState</code></a> instance that is meant to be shared within single threaded
decoder interactions. If more than one thread makes use of this cached <a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoderState</code></a> the
results of any decoding done using this state object is not guaranteed to be correct. The returned
instance will have its reset method called to ensure that any previously stored state data is cleared
before the next use.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a cached <a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoderState</code></a> linked to this Decoder instance that has been reset.</dd>
</dl>
</li>
</ul>
<a id="readBoolean(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readBoolean</h4>
<pre class="methodSignature">java.lang.Boolean&nbsp;readBoolean&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readBoolean(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readBoolean</h4>
<pre class="methodSignature">boolean&nbsp;readBoolean&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
boolean&nbsp;defaultValue)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readByte</h4>
<pre class="methodSignature">java.lang.Byte&nbsp;readByte&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,byte)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readByte</h4>
<pre class="methodSignature">byte&nbsp;readByte&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
byte&nbsp;defaultValue)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readUnsignedByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readUnsignedByte</h4>
<pre class="methodSignature"><a href="../types/UnsignedByte.html" title="class in org.apache.qpid.protonj2.types">UnsignedByte</a>&nbsp;readUnsignedByte&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readUnsignedByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,byte)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readUnsignedByte</h4>
<pre class="methodSignature">byte&nbsp;readUnsignedByte&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
byte&nbsp;defaultValue)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readCharacter(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readCharacter</h4>
<pre class="methodSignature">java.lang.Character&nbsp;readCharacter&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readCharacter(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,char)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readCharacter</h4>
<pre class="methodSignature">char&nbsp;readCharacter&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
char&nbsp;defaultValue)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readDecimal32(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readDecimal32</h4>
<pre class="methodSignature"><a href="../types/Decimal32.html" title="class in org.apache.qpid.protonj2.types">Decimal32</a>&nbsp;readDecimal32&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readDecimal64(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readDecimal64</h4>
<pre class="methodSignature"><a href="../types/Decimal64.html" title="class in org.apache.qpid.protonj2.types">Decimal64</a>&nbsp;readDecimal64&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readDecimal128(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readDecimal128</h4>
<pre class="methodSignature"><a href="../types/Decimal128.html" title="class in org.apache.qpid.protonj2.types">Decimal128</a>&nbsp;readDecimal128&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readShort</h4>
<pre class="methodSignature">java.lang.Short&nbsp;readShort&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,short)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readShort</h4>
<pre class="methodSignature">short&nbsp;readShort&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
short&nbsp;defaultValue)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readUnsignedShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readUnsignedShort</h4>
<pre class="methodSignature"><a href="../types/UnsignedShort.html" title="class in org.apache.qpid.protonj2.types">UnsignedShort</a>&nbsp;readUnsignedShort&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readUnsignedShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,short)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readUnsignedShort</h4>
<pre class="methodSignature">short&nbsp;readUnsignedShort&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
short&nbsp;defaultValue)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readUnsignedShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readUnsignedShort</h4>
<pre class="methodSignature">int&nbsp;readUnsignedShort&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
int&nbsp;defaultValue)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readInteger</h4>
<pre class="methodSignature">java.lang.Integer&nbsp;readInteger&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readInteger</h4>
<pre class="methodSignature">int&nbsp;readInteger&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
int&nbsp;defaultValue)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readUnsignedInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readUnsignedInteger</h4>
<pre class="methodSignature"><a href="../types/UnsignedInteger.html" title="class in org.apache.qpid.protonj2.types">UnsignedInteger</a>&nbsp;readUnsignedInteger&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readUnsignedInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readUnsignedInteger</h4>
<pre class="methodSignature">int&nbsp;readUnsignedInteger&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
int&nbsp;defaultValue)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readUnsignedInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readUnsignedInteger</h4>
<pre class="methodSignature">long&nbsp;readUnsignedInteger&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
long&nbsp;defaultValue)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readLong</h4>
<pre class="methodSignature">java.lang.Long&nbsp;readLong&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readLong</h4>
<pre class="methodSignature">long&nbsp;readLong&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
long&nbsp;defaultValue)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readUnsignedLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readUnsignedLong</h4>
<pre class="methodSignature"><a href="../types/UnsignedLong.html" title="class in org.apache.qpid.protonj2.types">UnsignedLong</a>&nbsp;readUnsignedLong&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readUnsignedLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readUnsignedLong</h4>
<pre class="methodSignature">long&nbsp;readUnsignedLong&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
long&nbsp;defaultValue)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readFloat(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readFloat</h4>
<pre class="methodSignature">java.lang.Float&nbsp;readFloat&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readFloat(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readFloat</h4>
<pre class="methodSignature">float&nbsp;readFloat&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
float&nbsp;defaultValue)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readDouble(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readDouble</h4>
<pre class="methodSignature">java.lang.Double&nbsp;readDouble&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readDouble(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readDouble</h4>
<pre class="methodSignature">double&nbsp;readDouble&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
double&nbsp;defaultValue)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readBinary(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readBinary</h4>
<pre class="methodSignature"><a href="../types/Binary.html" title="class in org.apache.qpid.protonj2.types">Binary</a>&nbsp;readBinary&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readBinaryAsBuffer(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readBinaryAsBuffer</h4>
<pre class="methodSignature"><a href="../buffer/ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a>&nbsp;readBinaryAsBuffer&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readDeliveryTag(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readDeliveryTag</h4>
<pre class="methodSignature"><a href="../types/DeliveryTag.html" title="interface in org.apache.qpid.protonj2.types">DeliveryTag</a>&nbsp;readDeliveryTag&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<div class="block">This method expects to read a <a href="../types/Binary.html" title="class in org.apache.qpid.protonj2.types"><code>Binary</code></a> encoded type from the provided buffer and
constructs a <a href="../types/DeliveryTag.html" title="interface in org.apache.qpid.protonj2.types"><code>DeliveryTag</code></a> type that wraps the bytes encoded. If the encoding is
a NULL AMQP type then this method returns <code>null</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <code>InputStream</code> to read a Binary encoded value from</dd>
<dd><code>state</code> - The current encoding state.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new DeliveryTag instance or null if an AMQP NULL encoding is found.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code> - if an error occurs while decoding the <a href="../types/DeliveryTag.html" title="interface in org.apache.qpid.protonj2.types"><code>DeliveryTag</code></a> instance.</dd>
</dl>
</li>
</ul>
<a id="readString(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readString</h4>
<pre class="methodSignature">java.lang.String&nbsp;readString&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readSymbol(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readSymbol</h4>
<pre class="methodSignature"><a href="../types/Symbol.html" title="class in org.apache.qpid.protonj2.types">Symbol</a>&nbsp;readSymbol&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readSymbol(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readSymbol</h4>
<pre class="methodSignature">java.lang.String&nbsp;readSymbol&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
java.lang.String&nbsp;defaultValue)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readTimestamp(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readTimestamp</h4>
<pre class="methodSignature">java.lang.Long&nbsp;readTimestamp&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readTimestamp(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readTimestamp</h4>
<pre class="methodSignature">long&nbsp;readTimestamp&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
long&nbsp;defaultValue)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readUUID(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readUUID</h4>
<pre class="methodSignature">java.util.UUID&nbsp;readUUID&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readObject(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readObject</h4>
<pre class="methodSignature">java.lang.Object&nbsp;readObject&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readObject(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readObject</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;T&nbsp;readObject&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
java.lang.Class&lt;T&gt;&nbsp;clazz)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readMultiple(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readMultiple</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;T[]&nbsp;readMultiple&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
java.lang.Class&lt;T&gt;&nbsp;clazz)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readMap(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readMap</h4>
<pre class="methodSignature">&lt;K,&#8203;V&gt;&nbsp;java.util.Map&lt;K,&#8203;V&gt;&nbsp;readMap&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readList(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readList</h4>
<pre class="methodSignature">&lt;V&gt;&nbsp;java.util.List&lt;V&gt;&nbsp;readList&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd>
</dl>
</li>
</ul>
<a id="readNextTypeDecoder(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readNextTypeDecoder</h4>
<pre class="methodSignature"><a href="StreamTypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamTypeDecoder</a>&lt;?&gt;&nbsp;readNextTypeDecoder&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<div class="block">Reads from the given <code>InputStream</code> instance and returns a <a href="StreamTypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamTypeDecoder</code></a> that can
read the next encoded AMQP type from the stream's bytes. If an error occurs attempting to read
and determine the next type decoder an <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec"><code>DecodeException</code></a> is thrown.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The stream to read from to determine the next <a href="TypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>TypeDecoder</code></a> needed.</dd>
<dd><code>state</code> - The <a href="DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> value that can be used for intermediate decoding tasks.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="StreamTypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamTypeDecoder</code></a> instance that can read the next type in the buffer.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code> - if an error occurs while reading the next type decoder.</dd>
</dl>
</li>
</ul>
<a id="peekNextTypeDecoder(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>peekNextTypeDecoder</h4>
<pre class="methodSignature"><a href="StreamTypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamTypeDecoder</a>&lt;?&gt;&nbsp;peekNextTypeDecoder&#8203;(java.io.InputStream&nbsp;stream,
<a href="StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state)
throws <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<div class="block">Peeks ahead in the given <code>InputStream</code> instance and returns a <a href="TypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>TypeDecoder</code></a> that can
read the next encoded AMQP type from the stream's bytes. If an error occurs attempting to read
and determine the next type decoder an <a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec"><code>DecodeException</code></a> is thrown. The underlying stream
is not modified as a result of the peek operation and the returned <a href="TypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>TypeDecoder</code></a> will fail
to properly read the type until the encoding bytes are read. If the provided stream does not offer
support for the mark API than this method can throw an <code>UnsupportedOperationException</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The stream to read from to determine the next <a href="TypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>TypeDecoder</code></a> needed.</dd>
<dd><code>state</code> - The <a href="DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> value that can be used for intermediate decoding tasks.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="TypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>TypeDecoder</code></a> instance that can provide insight into the next type in the stream.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code> - if an error occurs while peeking ahead for the next type decoder.</dd>
</dl>
</li>
</ul>
<a id="registerDescribedTypeDecoder(org.apache.qpid.protonj2.codec.StreamDescribedTypeDecoder)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>registerDescribedTypeDecoder</h4>
<pre class="methodSignature">&lt;V&gt;&nbsp;<a href="StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a>&nbsp;registerDescribedTypeDecoder&#8203;(<a href="StreamDescribedTypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDescribedTypeDecoder</a>&lt;V&gt;&nbsp;decoder)</pre>
<div class="block">Allows custom <a href="StreamDescribedTypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDescribedTypeDecoder</code></a> instances to be registered with this <a href="StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoder</code></a>
which will be used if the described type encoding is encountered during decode operations.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>V</code> - The type that the decoder reads.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>decoder</code> - A <a href="StreamDescribedTypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDescribedTypeDecoder</code></a> instance to be registered with this <a href="StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoder</code></a></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this <a href="StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoder</code></a> instance.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/StreamDecoder.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2021 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>