blob: fd93cb85f677aa1f45843778128b38a41d7c1c5f [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>ProtonStreamDecoder (Qpid ProtonJ2 Parent 1.0.0-M9 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ProtonStreamDecoder (Qpid ProtonJ2 Parent 1.0.0-M9 API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</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/ProtonStreamDecoder.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="../../../../../../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>
<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><a href="#constructor.summary">Constr</a>&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><a href="#constructor.detail">Constr</a>&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.decoders</a></div>
<h2 title="Class ProtonStreamDecoder" class="title">Class ProtonStreamDecoder</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.qpid.protonj2.codec.decoders.ProtonStreamDecoder</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
</dl>
<hr>
<pre>public final class <span class="typeNameLabel">ProtonStreamDecoder</span>
extends <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>
implements <a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></pre>
<div class="block">The default AMQP Decoder implementation.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">ProtonStreamDecoder</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== 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="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete 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="ProtonStreamDecoderState.html" title="class in org.apache.qpid.protonj2.codec.decoders">ProtonStreamDecoderState</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="ProtonStreamDecoderState.html" title="class in org.apache.qpid.protonj2.codec.decoders">ProtonStreamDecoderState</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> 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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 an encoded <a href="../../types/Binary.html" title="class in org.apache.qpid.protonj2.types"><code>Binary</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 an encoded <a href="../../types/Binary.html" title="class in org.apache.qpid.protonj2.types"><code>Binary</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a></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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Boolean</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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">
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Byte.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Byte</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Byte.html?is-external=true" title="class or interface in java.lang" class="externalLink">Byte</a></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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Byte.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Byte</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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">
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Byte.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Byte</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Character.html?is-external=true" title="class or interface in java.lang" class="externalLink">Character</a></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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Character.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Character</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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">
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Character.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Character</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 an encoded <a href="../../types/Decimal128.html" title="class in org.apache.qpid.protonj2.types"><code>Decimal128</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 an encoded <a href="../../types/Decimal32.html" title="class in org.apache.qpid.protonj2.types"><code>Decimal32</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 an encoded <a href="../../types/Decimal64.html" title="class in org.apache.qpid.protonj2.types"><code>Decimal64</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 stream 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><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Double.html?is-external=true" title="class or interface in java.lang" class="externalLink">Double</a></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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Double.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Double</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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">
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Double.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Double</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Float.html?is-external=true" title="class or interface in java.lang" class="externalLink">Float</a></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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Float.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Float</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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">
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Float.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Float</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a></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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Integer</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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">
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Integer</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>&lt;V&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>List</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a></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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Long</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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">
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Long</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>&lt;K,&#8203;V&gt;<br><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Map</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&nbsp;stream,
<a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;clazz)</code></th>
<td class="colLast">
<div class="block">Reads one or more encoded values from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> an return it as an array of
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Object</code></a> instances which the caller must then interpret.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> 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><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 an encoded value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> an return it as an <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Object</code></a>
which the caller must then interpret.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&nbsp;stream,
<a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;clazz)</code></th>
<td class="colLast">
<div class="block">Reads an encoded value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> an return it as an <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Object</code></a>
which the caller must then interpret.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Short.html?is-external=true" title="class or interface in java.lang" class="externalLink">Short</a></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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Short.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Short</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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">
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Short.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Short</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>String</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 an encoded <a href="../../types/Symbol.html" title="class in org.apache.qpid.protonj2.types"><code>Symbol</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&nbsp;stream,
<a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;defaultValue)</code></th>
<td class="colLast">
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>String</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a></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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 an encoded AMQP time stamp value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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">
<div class="block">Reads an encoded AMQP time stamp value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 an encoded <a href="../../types/UnsignedByte.html" title="class in org.apache.qpid.protonj2.types"><code>UnsignedByte</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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">
<div class="block">Reads an encoded <a href="../../types/UnsignedByte.html" title="class in org.apache.qpid.protonj2.types"><code>UnsignedByte</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 an encoded <a href="../../types/UnsignedInteger.html" title="class in org.apache.qpid.protonj2.types"><code>UnsignedInteger</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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">
<div class="block">Reads an encoded <a href="../../types/UnsignedInteger.html" title="class in org.apache.qpid.protonj2.types"><code>UnsignedInteger</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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">
<div class="block">Reads an encoded <a href="../../types/UnsignedInteger.html" title="class in org.apache.qpid.protonj2.types"><code>UnsignedInteger</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 an encoded <a href="../../types/UnsignedLong.html" title="class in org.apache.qpid.protonj2.types"><code>UnsignedLong</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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">
<div class="block">Reads an encoded <a href="../../types/UnsignedLong.html" title="class in org.apache.qpid.protonj2.types"><code>UnsignedLong</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 an encoded <a href="../../types/UnsignedShort.html" title="class in org.apache.qpid.protonj2.types"><code>UnsignedShort</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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">
<div class="block">Reads an encoded <a href="../../types/UnsignedShort.html" title="class in org.apache.qpid.protonj2.types"><code>UnsignedShort</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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">
<div class="block">Reads an encoded <a href="../../types/UnsignedShort.html" title="class in org.apache.qpid.protonj2.types"><code>UnsignedShort</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/UUID.html?is-external=true" title="class or interface in java.util" class="externalLink">UUID</a></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;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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 an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/UUID.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>UUID</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type.</div>
</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code>&lt;V&gt;&nbsp;<a href="ProtonStreamDecoder.html" title="class in org.apache.qpid.protonj2.codec.decoders">ProtonStreamDecoder</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>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3>
<code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ProtonStreamDecoder</h4>
<pre>public&nbsp;ProtonStreamDecoder()</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ 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">public&nbsp;<a href="ProtonStreamDecoderState.html" title="class in org.apache.qpid.protonj2.codec.decoders">ProtonStreamDecoderState</a>&nbsp;newDecoderState()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#newDecoderState()">StreamDecoder</a></code></span></div>
<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="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#newDecoderState()">newDecoderState</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<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">public&nbsp;<a href="ProtonStreamDecoderState.html" title="class in org.apache.qpid.protonj2.codec.decoders">ProtonStreamDecoderState</a>&nbsp;getCachedDecoderState()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#getCachedDecoderState()">StreamDecoder</a></code></span></div>
<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="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#getCachedDecoderState()">getCachedDecoderState</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<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="readObject(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readObject</h4>
<pre class="methodSignature">public&nbsp;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;readObject&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readObject(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> an return it as an <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Object</code></a>
which the caller must then interpret.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readObject(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readObject</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not able to be decoded.</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">public&nbsp;&lt;T&gt;&nbsp;T&nbsp;readObject&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&nbsp;stream,
<a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;clazz)
throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readObject(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,java.lang.Class)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> an return it as an <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Object</code></a>
which the caller must then interpret.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readObject(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,java.lang.Class)">readObject</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - the type that will be used when casting and returning the decoded value.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dd><code>clazz</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Class</code></a> type that should be used to cast the returned value.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not able to be decoded.</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">public&nbsp;&lt;T&gt;&nbsp;T[]&nbsp;readMultiple&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&nbsp;stream,
<a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;clazz)
throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readMultiple(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,java.lang.Class)">StreamDecoder</a></code></span></div>
<div class="block">Reads one or more encoded values from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> an return it as an array of
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Object</code></a> instances which the caller must then interpret.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readMultiple(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,java.lang.Class)">readMultiple</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - the type that will be used when casting and returning the decoded value.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dd><code>clazz</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Class</code></a> type that should be used to cast the returned array.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not able to be decoded.</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">public&nbsp;<a href="../StreamTypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamTypeDecoder</a>&lt;?&gt;&nbsp;readNextTypeDecoder&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readNextTypeDecoder(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<div class="block">Reads from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> 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="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readNextTypeDecoder(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readNextTypeDecoder</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<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 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 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">public&nbsp;<a href="../StreamTypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamTypeDecoder</a>&lt;?&gt;&nbsp;peekNextTypeDecoder&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#peekNextTypeDecoder(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<div class="block">Peeks ahead in the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> 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 <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>UnsupportedOperationException</code></a>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#peekNextTypeDecoder(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">peekNextTypeDecoder</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<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="blockList">
<li class="blockList">
<h4>registerDescribedTypeDecoder</h4>
<pre class="methodSignature">public&nbsp;&lt;V&gt;&nbsp;<a href="ProtonStreamDecoder.html" title="class in org.apache.qpid.protonj2.codec.decoders">ProtonStreamDecoder</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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#registerDescribedTypeDecoder(org.apache.qpid.protonj2.codec.StreamDescribedTypeDecoder)">StreamDecoder</a></code></span></div>
<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="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#registerDescribedTypeDecoder(org.apache.qpid.protonj2.codec.StreamDescribedTypeDecoder)">registerDescribedTypeDecoder</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<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>
<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">public&nbsp;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a>&nbsp;readBoolean&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readBoolean(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Boolean</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readBoolean(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readBoolean</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;boolean&nbsp;readBoolean&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readBoolean(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,boolean)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Byte.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Byte</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readBoolean(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,boolean)">readBoolean</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dd><code>defaultValue</code> - A default value to return if the next encoded value is a Null encoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Byte.html?is-external=true" title="class or interface in java.lang" class="externalLink">Byte</a>&nbsp;readByte&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Byte.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Byte</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readByte</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;byte&nbsp;readByte&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,byte)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Byte.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Byte</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,byte)">readByte</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dd><code>defaultValue</code> - A default value to return if the next encoded value is a Null encoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;<a href="../../types/UnsignedByte.html" title="class in org.apache.qpid.protonj2.types">UnsignedByte</a>&nbsp;readUnsignedByte&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readUnsignedByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="../../types/UnsignedByte.html" title="class in org.apache.qpid.protonj2.types"><code>UnsignedByte</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readUnsignedByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readUnsignedByte</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;byte&nbsp;readUnsignedByte&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readUnsignedByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,byte)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="../../types/UnsignedByte.html" title="class in org.apache.qpid.protonj2.types"><code>UnsignedByte</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readUnsignedByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,byte)">readUnsignedByte</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dd><code>defaultValue</code> - A default value to return if the next encoded value is a Null encoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Character.html?is-external=true" title="class or interface in java.lang" class="externalLink">Character</a>&nbsp;readCharacter&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readCharacter(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Character.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Character</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readCharacter(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readCharacter</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;char&nbsp;readCharacter&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readCharacter(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,char)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Character.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Character</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readCharacter(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,char)">readCharacter</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dd><code>defaultValue</code> - A default value to return if the next encoded value is a Null encoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;<a href="../../types/Decimal32.html" title="class in org.apache.qpid.protonj2.types">Decimal32</a>&nbsp;readDecimal32&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readDecimal32(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="../../types/Decimal32.html" title="class in org.apache.qpid.protonj2.types"><code>Decimal32</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readDecimal32(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readDecimal32</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;<a href="../../types/Decimal64.html" title="class in org.apache.qpid.protonj2.types">Decimal64</a>&nbsp;readDecimal64&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readDecimal64(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="../../types/Decimal64.html" title="class in org.apache.qpid.protonj2.types"><code>Decimal64</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readDecimal64(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readDecimal64</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;<a href="../../types/Decimal128.html" title="class in org.apache.qpid.protonj2.types">Decimal128</a>&nbsp;readDecimal128&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readDecimal128(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="../../types/Decimal128.html" title="class in org.apache.qpid.protonj2.types"><code>Decimal128</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readDecimal128(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readDecimal128</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Short.html?is-external=true" title="class or interface in java.lang" class="externalLink">Short</a>&nbsp;readShort&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Short.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Short</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readShort</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;short&nbsp;readShort&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,short)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Short.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Short</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,short)">readShort</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dd><code>defaultValue</code> - A default value to return if the next encoded value is a Null encoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;<a href="../../types/UnsignedShort.html" title="class in org.apache.qpid.protonj2.types">UnsignedShort</a>&nbsp;readUnsignedShort&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readUnsignedShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="../../types/UnsignedShort.html" title="class in org.apache.qpid.protonj2.types"><code>UnsignedShort</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readUnsignedShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readUnsignedShort</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;short&nbsp;readUnsignedShort&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readUnsignedShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,short)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="../../types/UnsignedShort.html" title="class in org.apache.qpid.protonj2.types"><code>UnsignedShort</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readUnsignedShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,short)">readUnsignedShort</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dd><code>defaultValue</code> - A default value to return if the next encoded value is a Null encoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;int&nbsp;readUnsignedShort&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readUnsignedShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,int)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="../../types/UnsignedShort.html" title="class in org.apache.qpid.protonj2.types"><code>UnsignedShort</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readUnsignedShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,int)">readUnsignedShort</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dd><code>defaultValue</code> - A default value to return if the next encoded value is a Null encoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>&nbsp;readInteger&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Integer</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readInteger</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;int&nbsp;readInteger&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,int)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Integer</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,int)">readInteger</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dd><code>defaultValue</code> - A default value to return if the next encoded value is a Null encoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;<a href="../../types/UnsignedInteger.html" title="class in org.apache.qpid.protonj2.types">UnsignedInteger</a>&nbsp;readUnsignedInteger&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readUnsignedInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="../../types/UnsignedInteger.html" title="class in org.apache.qpid.protonj2.types"><code>UnsignedInteger</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readUnsignedInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readUnsignedInteger</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;int&nbsp;readUnsignedInteger&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readUnsignedInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,int)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="../../types/UnsignedInteger.html" title="class in org.apache.qpid.protonj2.types"><code>UnsignedInteger</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readUnsignedInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,int)">readUnsignedInteger</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dd><code>defaultValue</code> - A default value to return if the next encoded value is a Null encoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;long&nbsp;readUnsignedInteger&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readUnsignedInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="../../types/UnsignedInteger.html" title="class in org.apache.qpid.protonj2.types"><code>UnsignedInteger</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readUnsignedInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)">readUnsignedInteger</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dd><code>defaultValue</code> - A default value to return if the next encoded value is a Null encoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a>&nbsp;readLong&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Long</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readLong</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;long&nbsp;readLong&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Long</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)">readLong</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dd><code>defaultValue</code> - A default value to return if the next encoded value is a Null encoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;<a href="../../types/UnsignedLong.html" title="class in org.apache.qpid.protonj2.types">UnsignedLong</a>&nbsp;readUnsignedLong&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readUnsignedLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="../../types/UnsignedLong.html" title="class in org.apache.qpid.protonj2.types"><code>UnsignedLong</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readUnsignedLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readUnsignedLong</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;long&nbsp;readUnsignedLong&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readUnsignedLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="../../types/UnsignedLong.html" title="class in org.apache.qpid.protonj2.types"><code>UnsignedLong</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readUnsignedLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)">readUnsignedLong</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dd><code>defaultValue</code> - A default value to return if the next encoded value is a Null encoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Float.html?is-external=true" title="class or interface in java.lang" class="externalLink">Float</a>&nbsp;readFloat&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readFloat(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Float.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Float</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readFloat(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readFloat</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;float&nbsp;readFloat&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readFloat(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,float)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Float.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Float</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readFloat(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,float)">readFloat</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dd><code>defaultValue</code> - A default value to return if the next encoded value is a Null encoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Double.html?is-external=true" title="class or interface in java.lang" class="externalLink">Double</a>&nbsp;readDouble&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readDouble(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Double.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Double</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readDouble(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readDouble</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;double&nbsp;readDouble&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readDouble(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,double)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Double.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Double</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readDouble(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,double)">readDouble</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dd><code>defaultValue</code> - A default value to return if the next encoded value is a Null encoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;<a href="../../types/Binary.html" title="class in org.apache.qpid.protonj2.types">Binary</a>&nbsp;readBinary&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readBinary(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="../../types/Binary.html" title="class in org.apache.qpid.protonj2.types"><code>Binary</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readBinary(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readBinary</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;<a href="../../buffer/ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a>&nbsp;readBinaryAsBuffer&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readBinaryAsBuffer(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="../../types/Binary.html" title="class in org.apache.qpid.protonj2.types"><code>Binary</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readBinaryAsBuffer(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readBinaryAsBuffer</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source and returned in a <a href="../../buffer/ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer"><code>ProtonBuffer</code></a>.</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 the value fails to decode is not of the expected type,</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">public&nbsp;<a href="../../types/DeliveryTag.html" title="interface in org.apache.qpid.protonj2.types">DeliveryTag</a>&nbsp;readDeliveryTag&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readDeliveryTag(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<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 stream 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="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readDeliveryTag(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readDeliveryTag</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> 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">public&nbsp;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;readString&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readString(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>String</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readString(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readString</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;<a href="../../types/Symbol.html" title="class in org.apache.qpid.protonj2.types">Symbol</a>&nbsp;readSymbol&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readSymbol(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="../../types/Symbol.html" title="class in org.apache.qpid.protonj2.types"><code>Symbol</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readSymbol(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readSymbol</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;readSymbol&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&nbsp;stream,
<a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a>&nbsp;state,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;defaultValue)
throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readSymbol(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,java.lang.String)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>String</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readSymbol(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,java.lang.String)">readSymbol</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dd><code>defaultValue</code> - A default value to return if the next encoded value is a Null encoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a>&nbsp;readTimestamp&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readTimestamp(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded AMQP time stamp value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readTimestamp(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readTimestamp</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source and return a <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Long</code></a> with the time value.</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 the value fails to decode is not of the expected type,</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">public&nbsp;long&nbsp;readTimestamp&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readTimestamp(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded AMQP time stamp value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readTimestamp(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)">readTimestamp</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dd><code>defaultValue</code> - A default value to return if the next encoded value is a Null encoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/UUID.html?is-external=true" title="class or interface in java.util" class="externalLink">UUID</a>&nbsp;readUUID&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readUUID(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/UUID.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>UUID</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readUUID(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readUUID</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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">public&nbsp;&lt;K,&#8203;V&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&lt;K,&#8203;V&gt;&nbsp;readMap&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readMap(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Map</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readMap(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readMap</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>K</code> - The key type for the map that is being read.</dd>
<dd><code>V</code> - The value type for the map that is being read.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</dd>
</dl>
</li>
</ul>
<a id="readList(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>readList</h4>
<pre class="methodSignature">public&nbsp;&lt;V&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;V&gt;&nbsp;readList&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../StreamDecoder.html#readList(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div>
<div class="block">Reads an encoded <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>List</code></a> value from the given <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> assuming that the
next value in the byte stream is that type. The operation fails if the next encoded type is
not what was expected. If the caller wishes to recover from failed decode attempt they should
mark the and reset the input to make a further read attempt.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../StreamDecoder.html#readList(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readList</a></code>&nbsp;in interface&nbsp;<code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>V</code> - The value type for the list that is being read.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - The <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> where the read operation takes place.</dd>
<dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> that the decoder can use when decoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value read from the provided byte source.</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 the value fails to decode is not of the expected type,</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/ProtonStreamDecoder.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="../../../../../../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><a href="#constructor.summary">Constr</a>&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><a href="#constructor.detail">Constr</a>&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; 2022 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>