blob: e50af65c2123862e0c7e82f566b4ba972427f103 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>ActiveMQBuffer (ActiveMQ Artemis Website 2.33.0 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="ActiveMQBuffer (ActiveMQ Artemis Website 2.33.0 API)";
}
}
catch(err) {
}
//-->
var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":6,"i40":6,"i41":6,"i42":6,"i43":6,"i44":6,"i45":6,"i46":6,"i47":6,"i48":6,"i49":6,"i50":6,"i51":6,"i52":6,"i53":6,"i54":6,"i55":6,"i56":6,"i57":6,"i58":6,"i59":6,"i60":6,"i61":6,"i62":6,"i63":6,"i64":6,"i65":6,"i66":6,"i67":6,"i68":6,"i69":6,"i70":6,"i71":6,"i72":6,"i73":6,"i74":6,"i75":6,"i76":6,"i77":6,"i78":6,"i79":6,"i80":6,"i81":6,"i82":6,"i83":6,"i84":6,"i85":6,"i86":6,"i87":6,"i88":6,"i89":6,"i90":6,"i91":6,"i92":6,"i93":6,"i94":6,"i95":6,"i96":6,"i97":6,"i98":6,"i99":6,"i100":6,"i101":6,"i102":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</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/ActiveMQBuffer.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>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.activemq.artemis.api.core</a></div>
<h2 title="Interface ActiveMQBuffer" class="title">Interface ActiveMQBuffer</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Superinterfaces:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true" title="class or interface in java.io" class="externalLink">DataInput</a></code></dd>
</dl>
<hr>
<pre>public interface <span class="typeNameLabel">ActiveMQBuffer</span>
extends <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true" title="class or interface in java.io" class="externalLink">DataInput</a></pre>
<div class="block">An ActiveMQBuffer wraps a Netty's ChannelBuffer and is used throughout ActiveMQ Artemis code base.
<p>
Instances of it can be obtained from <a href="ActiveMQBuffers.html" title="class in org.apache.activemq.artemis.api.core"><code>ActiveMQBuffers</code></a> factory.
<p>
Much of it derived from Netty ChannelBuffer by Trustin Lee</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="ActiveMQBuffers.html" title="class in org.apache.activemq.artemis.api.core"><code>ActiveMQBuffers</code></a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#byteBuf()">byteBuf</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the underlying Netty's ByteBuf</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#capacity()">capacity</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the number of bytes this buffer can contain.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clear()">clear</a></span>()</code></th>
<td class="colLast">
<div class="block">Sets the <code>readerIndex</code> and <code>writerIndex</code> of this buffer to
<code>0</code>.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#copy()">copy</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a copy of this buffer's readable bytes.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#copy(int,int)">copy</a></span>&#8203;(int&nbsp;index,
int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Returns a copy of this buffer's sub-region.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#discardReadBytes()">discardReadBytes</a></span>()</code></th>
<td class="colLast">
<div class="block">Discards the bytes between the 0th index and <code>readerIndex</code>.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#duplicate()">duplicate</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a buffer which shares the whole region of this buffer.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>byte</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getByte(int)">getByte</a></span>&#8203;(int&nbsp;index)</code></th>
<td class="colLast">
<div class="block">Gets a byte at the specified absolute <code>index</code> in this buffer.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBytes(int,byte%5B%5D)">getBytes</a></span>&#8203;(int&nbsp;index,
byte[]&nbsp;dst)</code></th>
<td class="colLast">
<div class="block">Transfers this buffer's data to the specified destination starting at
the specified absolute <code>index</code>.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBytes(int,byte%5B%5D,int,int)">getBytes</a></span>&#8203;(int&nbsp;index,
byte[]&nbsp;dst,
int&nbsp;dstIndex,
int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Transfers this buffer's data to the specified destination starting at
the specified absolute <code>index</code>.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBytes(int,java.nio.ByteBuffer)">getBytes</a></span>&#8203;(int&nbsp;index,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio" class="externalLink">ByteBuffer</a>&nbsp;dst)</code></th>
<td class="colLast">
<div class="block">Transfers this buffer's data to the specified destination starting at
the specified absolute <code>index</code> until the destination's position
reaches its limit.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBytes(int,org.apache.activemq.artemis.api.core.ActiveMQBuffer)">getBytes</a></span>&#8203;(int&nbsp;index,
<a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;dst)</code></th>
<td class="colLast">
<div class="block">Transfers this buffer's data to the specified destination starting at
the specified absolute <code>index</code> until the destination becomes
non-writable.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBytes(int,org.apache.activemq.artemis.api.core.ActiveMQBuffer,int)">getBytes</a></span>&#8203;(int&nbsp;index,
<a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;dst,
int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Transfers this buffer's data to the specified destination starting at
the specified absolute <code>index</code>.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBytes(int,org.apache.activemq.artemis.api.core.ActiveMQBuffer,int,int)">getBytes</a></span>&#8203;(int&nbsp;index,
<a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;dst,
int&nbsp;dstIndex,
int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Transfers this buffer's data to the specified destination starting at
the specified absolute <code>index</code>.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>char</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getChar(int)">getChar</a></span>&#8203;(int&nbsp;index)</code></th>
<td class="colLast">
<div class="block">Gets a char at the specified absolute <code>index</code> in
this buffer.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDouble(int)">getDouble</a></span>&#8203;(int&nbsp;index)</code></th>
<td class="colLast">
<div class="block">Gets a double at the specified absolute <code>index</code> in
this buffer.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFloat(int)">getFloat</a></span>&#8203;(int&nbsp;index)</code></th>
<td class="colLast">
<div class="block">Gets a float at the specified absolute <code>index</code> in
this buffer.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getInt(int)">getInt</a></span>&#8203;(int&nbsp;index)</code></th>
<td class="colLast">
<div class="block">Gets a 32-bit integer at the specified absolute <code>index</code> in
this buffer.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLong(int)">getLong</a></span>&#8203;(int&nbsp;index)</code></th>
<td class="colLast">
<div class="block">Gets a 64-bit long integer at the specified absolute <code>index</code> in
this buffer.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>short</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getShort(int)">getShort</a></span>&#8203;(int&nbsp;index)</code></th>
<td class="colLast">
<div class="block">Gets a 16-bit short integer at the specified absolute <code>index</code> in
this buffer.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>short</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getUnsignedByte(int)">getUnsignedByte</a></span>&#8203;(int&nbsp;index)</code></th>
<td class="colLast">
<div class="block">Gets an unsigned byte at the specified absolute <code>index</code> in this
buffer.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getUnsignedInt(int)">getUnsignedInt</a></span>&#8203;(int&nbsp;index)</code></th>
<td class="colLast">
<div class="block">Gets an unsigned 32-bit integer at the specified absolute <code>index</code>
in this buffer.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getUnsignedShort(int)">getUnsignedShort</a></span>&#8203;(int&nbsp;index)</code></th>
<td class="colLast">
<div class="block">Gets an unsigned 16-bit short integer at the specified absolute
<code>index</code> in this buffer.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#markReaderIndex()">markReaderIndex</a></span>()</code></th>
<td class="colLast">
<div class="block">Marks the current <code>readerIndex</code> in this buffer.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#markWriterIndex()">markWriterIndex</a></span>()</code></th>
<td class="colLast">
<div class="block">Marks the current <code>writerIndex</code> in this buffer.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readable()">readable</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readableBytes()">readableBytes</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readBoolean()">readBoolean</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets a boolean at the current <code>readerIndex</code>
and increases the <code>readerIndex</code> by <code>1</code> in this buffer.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>byte</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readByte()">readByte</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets a byte at the current <code>readerIndex</code> and increases
the <code>readerIndex</code> by <code>1</code> in this buffer.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readBytes(byte%5B%5D)">readBytes</a></span>&#8203;(byte[]&nbsp;dst)</code></th>
<td class="colLast">
<div class="block">Transfers this buffer's data to the specified destination starting at
the current <code>readerIndex</code> and increases the <code>readerIndex</code>
by the number of the transferred bytes (= <code>dst.length</code>).</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readBytes(byte%5B%5D,int,int)">readBytes</a></span>&#8203;(byte[]&nbsp;dst,
int&nbsp;dstIndex,
int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Transfers this buffer's data to the specified destination starting at
the current <code>readerIndex</code> and increases the <code>readerIndex</code>
by the number of the transferred bytes (= <code>length</code>).</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readBytes(java.nio.ByteBuffer)">readBytes</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio" class="externalLink">ByteBuffer</a>&nbsp;dst)</code></th>
<td class="colLast">
<div class="block">Transfers this buffer's data to the specified destination starting at
the current <code>readerIndex</code> until the destination's position
reaches its limit, and increases the <code>readerIndex</code> by the
number of the transferred bytes.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">readBytes</a></span>&#8203;(<a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;dst)</code></th>
<td class="colLast">
<div class="block">Transfers this buffer's data to the specified destination starting at
the current <code>readerIndex</code> until the destination becomes
non-writable, and increases the <code>readerIndex</code> by the number of the
transferred bytes.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer,int)">readBytes</a></span>&#8203;(<a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;dst,
int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Transfers this buffer's data to the specified destination starting at
the current <code>readerIndex</code> and increases the <code>readerIndex</code>
by the number of the transferred bytes (= <code>length</code>).</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer,int,int)">readBytes</a></span>&#8203;(<a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;dst,
int&nbsp;dstIndex,
int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Transfers this buffer's data to the specified destination starting at
the current <code>readerIndex</code> and increases the <code>readerIndex</code>
by the number of the transferred bytes (= <code>length</code>).</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>char</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readChar()">readChar</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets a char at the current <code>readerIndex</code>
and increases the <code>readerIndex</code> by <code>2</code> in this buffer.</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readDouble()">readDouble</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets a double at the current <code>readerIndex</code>
and increases the <code>readerIndex</code> by <code>8</code> in this buffer.</div>
</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readerIndex()">readerIndex</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readerIndex(int)">readerIndex</a></span>&#8203;(int&nbsp;readerIndex)</code></th>
<td class="colLast">
<div class="block">Sets the <code>readerIndex</code> of this buffer.</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readFloat()">readFloat</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets a float at the current <code>readerIndex</code>
and increases the <code>readerIndex</code> by <code>4</code> in this buffer.</div>
</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readInt()">readInt</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets a 32-bit integer at the current <code>readerIndex</code>
and increases the <code>readerIndex</code> by <code>4</code> in this buffer.</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readLong()">readLong</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets a 64-bit integer at the current <code>readerIndex</code>
and increases the <code>readerIndex</code> by <code>8</code> in this buffer.</div>
</td>
</tr>
<tr id="i42" class="altColor">
<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="#readNullableBoolean()">readNullableBoolean</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets a (potentially <code>null</code>) boolean at the current <code>readerIndex</code>
and increases the <code>readerIndex</code> by <code>1</code> in this buffer.</div>
</td>
</tr>
<tr id="i43" 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="#readNullableInt()">readNullableInt</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets a (potentially <code>null</code>) 32-bit integer at the current <code>readerIndex</code>
and increases the <code>readerIndex</code> by <code>4</code> in this buffer.</div>
</td>
</tr>
<tr id="i44" 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="#readNullableLong()">readNullableLong</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets a (potentially <code>null</code>) 64-bit integer at the current <code>readerIndex</code>
and increases the <code>readerIndex</code> by <code>8</code> in this buffer.</div>
</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code><a href="SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readNullableSimpleString()">readNullableSimpleString</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets a SimpleString (potentially <code>null</code>) at the current <code>readerIndex</code></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/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="#readNullableString()">readNullableString</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets a String (potentially <code>null</code>) at the current <code>readerIndex</code></div>
</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code>short</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readShort()">readShort</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets a 16-bit short integer at the current <code>readerIndex</code>
and increases the <code>readerIndex</code> by <code>2</code> in this buffer.</div>
</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code><a href="SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readSimpleString()">readSimpleString</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets a non-null SimpleString at the current <code>readerIndex</code></div>
</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code><a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readSlice(int)">readSlice</a></span>&#8203;(int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Returns a new slice of this buffer's sub-region starting at the current
<code>readerIndex</code> and increases the <code>readerIndex</code> by the size
of the new slice (= <code>length</code>).</div>
</td>
</tr>
<tr id="i50" class="altColor">
<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()">readString</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets a non-null String at the current <code>readerIndex</code></div>
</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readUnsignedByte()">readUnsignedByte</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets an unsigned byte at the current <code>readerIndex</code> and increases
the <code>readerIndex</code> by <code>1</code> in this buffer.</div>
</td>
</tr>
<tr id="i52" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readUnsignedInt()">readUnsignedInt</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets an unsigned 32-bit integer at the current <code>readerIndex</code>
and increases the <code>readerIndex</code> by <code>4</code> in this buffer.</div>
</td>
</tr>
<tr id="i53" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readUnsignedShort()">readUnsignedShort</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets an unsigned 16-bit short integer at the current <code>readerIndex</code>
and increases the <code>readerIndex</code> by <code>2</code> in this buffer.</div>
</td>
</tr>
<tr id="i54" class="altColor">
<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="#readUTF()">readUTF</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets a UTF-8 String at the current <code>readerIndex</code></div>
</td>
</tr>
<tr id="i55" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#release()">release</a></span>()</code></th>
<td class="colLast">
<div class="block">Release any underlying resources held by this buffer</div>
</td>
</tr>
<tr id="i56" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#resetReaderIndex()">resetReaderIndex</a></span>()</code></th>
<td class="colLast">
<div class="block">Repositions the current <code>readerIndex</code> to the marked
<code>readerIndex</code> in this buffer.</div>
</td>
</tr>
<tr id="i57" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#resetWriterIndex()">resetWriterIndex</a></span>()</code></th>
<td class="colLast">
<div class="block">Repositions the current <code>writerIndex</code> to the marked
<code>writerIndex</code> in this buffer.</div>
</td>
</tr>
<tr id="i58" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setByte(int,byte)">setByte</a></span>&#8203;(int&nbsp;index,
byte&nbsp;value)</code></th>
<td class="colLast">
<div class="block">Sets the specified byte at the specified absolute <code>index</code> in this
buffer.</div>
</td>
</tr>
<tr id="i59" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBytes(int,byte%5B%5D)">setBytes</a></span>&#8203;(int&nbsp;index,
byte[]&nbsp;src)</code></th>
<td class="colLast">
<div class="block">Transfers the specified source array's data to this buffer starting at
the specified absolute <code>index</code>.</div>
</td>
</tr>
<tr id="i60" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBytes(int,byte%5B%5D,int,int)">setBytes</a></span>&#8203;(int&nbsp;index,
byte[]&nbsp;src,
int&nbsp;srcIndex,
int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Transfers the specified source array's data to this buffer starting at
the specified absolute <code>index</code>.</div>
</td>
</tr>
<tr id="i61" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBytes(int,java.nio.ByteBuffer)">setBytes</a></span>&#8203;(int&nbsp;index,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio" class="externalLink">ByteBuffer</a>&nbsp;src)</code></th>
<td class="colLast">
<div class="block">Transfers the specified source buffer's data to this buffer starting at
the specified absolute <code>index</code> until the source buffer's position
reaches its limit.</div>
</td>
</tr>
<tr id="i62" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBytes(int,org.apache.activemq.artemis.api.core.ActiveMQBuffer)">setBytes</a></span>&#8203;(int&nbsp;index,
<a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;src)</code></th>
<td class="colLast">
<div class="block">Transfers the specified source buffer's data to this buffer starting at
the specified absolute <code>index</code> until the destination becomes
unreadable.</div>
</td>
</tr>
<tr id="i63" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBytes(int,org.apache.activemq.artemis.api.core.ActiveMQBuffer,int)">setBytes</a></span>&#8203;(int&nbsp;index,
<a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;src,
int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Transfers the specified source buffer's data to this buffer starting at
the specified absolute <code>index</code>.</div>
</td>
</tr>
<tr id="i64" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBytes(int,org.apache.activemq.artemis.api.core.ActiveMQBuffer,int,int)">setBytes</a></span>&#8203;(int&nbsp;index,
<a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;src,
int&nbsp;srcIndex,
int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Transfers the specified source buffer's data to this buffer starting at
the specified absolute <code>index</code>.</div>
</td>
</tr>
<tr id="i65" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setChar(int,char)">setChar</a></span>&#8203;(int&nbsp;index,
char&nbsp;value)</code></th>
<td class="colLast">
<div class="block">Sets the specified char at the specified absolute
<code>index</code> in this buffer.</div>
</td>
</tr>
<tr id="i66" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDouble(int,double)">setDouble</a></span>&#8203;(int&nbsp;index,
double&nbsp;value)</code></th>
<td class="colLast">
<div class="block">Sets the specified double at the specified absolute
<code>index</code> in this buffer.</div>
</td>
</tr>
<tr id="i67" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFloat(int,float)">setFloat</a></span>&#8203;(int&nbsp;index,
float&nbsp;value)</code></th>
<td class="colLast">
<div class="block">Sets the specified float at the specified absolute
<code>index</code> in this buffer.</div>
</td>
</tr>
<tr id="i68" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setIndex(int,int)">setIndex</a></span>&#8203;(int&nbsp;readerIndex,
int&nbsp;writerIndex)</code></th>
<td class="colLast">
<div class="block">Sets the <code>readerIndex</code> and <code>writerIndex</code> of this buffer
in one shot.</div>
</td>
</tr>
<tr id="i69" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setInt(int,int)">setInt</a></span>&#8203;(int&nbsp;index,
int&nbsp;value)</code></th>
<td class="colLast">
<div class="block">Sets the specified 32-bit integer at the specified absolute
<code>index</code> in this buffer.</div>
</td>
</tr>
<tr id="i70" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setLong(int,long)">setLong</a></span>&#8203;(int&nbsp;index,
long&nbsp;value)</code></th>
<td class="colLast">
<div class="block">Sets the specified 64-bit long integer at the specified absolute
<code>index</code> in this buffer.</div>
</td>
</tr>
<tr id="i71" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setShort(int,short)">setShort</a></span>&#8203;(int&nbsp;index,
short&nbsp;value)</code></th>
<td class="colLast">
<div class="block">Sets the specified 16-bit short integer at the specified absolute
<code>index</code> in this buffer.</div>
</td>
</tr>
<tr id="i72" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#skipBytes(int)">skipBytes</a></span>&#8203;(int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Increases the current <code>readerIndex</code> by the specified
<code>length</code> in this buffer.</div>
</td>
</tr>
<tr id="i73" class="rowColor">
<td class="colFirst"><code><a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#slice()">slice</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a slice of this buffer's readable bytes.</div>
</td>
</tr>
<tr id="i74" class="altColor">
<td class="colFirst"><code><a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#slice(int,int)">slice</a></span>&#8203;(int&nbsp;index,
int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Returns a slice of this buffer's sub-region.</div>
</td>
</tr>
<tr id="i75" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio" class="externalLink">ByteBuffer</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toByteBuffer()">toByteBuffer</a></span>()</code></th>
<td class="colLast">
<div class="block">Converts this buffer's readable bytes into a NIO buffer.</div>
</td>
</tr>
<tr id="i76" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio" class="externalLink">ByteBuffer</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toByteBuffer(int,int)">toByteBuffer</a></span>&#8203;(int&nbsp;index,
int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Converts this buffer's sub-region into a NIO buffer.</div>
</td>
</tr>
<tr id="i77" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writable()">writable</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i78" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writableBytes()">writableBytes</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i79" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeBoolean(boolean)">writeBoolean</a></span>&#8203;(boolean&nbsp;val)</code></th>
<td class="colLast">
<div class="block">Sets the specified boolean at the current <code>writerIndex</code></div>
</td>
</tr>
<tr id="i80" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeByte(byte)">writeByte</a></span>&#8203;(byte&nbsp;value)</code></th>
<td class="colLast">
<div class="block">Sets the specified byte at the current <code>writerIndex</code>
and increases the <code>writerIndex</code> by <code>1</code> in this buffer.</div>
</td>
</tr>
<tr id="i81" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeBytes(byte%5B%5D)">writeBytes</a></span>&#8203;(byte[]&nbsp;src)</code></th>
<td class="colLast">
<div class="block">Transfers the specified source array's data to this buffer starting at
the current <code>writerIndex</code> and increases the <code>writerIndex</code>
by the number of the transferred bytes (= <code>src.length</code>).</div>
</td>
</tr>
<tr id="i82" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeBytes(byte%5B%5D,int,int)">writeBytes</a></span>&#8203;(byte[]&nbsp;src,
int&nbsp;srcIndex,
int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Transfers the specified source array's data to this buffer starting at
the current <code>writerIndex</code> and increases the <code>writerIndex</code>
by the number of the transferred bytes (= <code>length</code>).</div>
</td>
</tr>
<tr id="i83" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeBytes(io.netty.buffer.ByteBuf,int,int)">writeBytes</a></span>&#8203;(io.netty.buffer.ByteBuf&nbsp;src,
int&nbsp;srcIndex,
int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Transfers the specified source buffer's data to this buffer starting at
the current <code>writerIndex</code> until the source buffer's position
reaches its limit, and increases the <code>writerIndex</code> by the
number of the transferred bytes.</div>
</td>
</tr>
<tr id="i84" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeBytes(java.nio.ByteBuffer)">writeBytes</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio" class="externalLink">ByteBuffer</a>&nbsp;src)</code></th>
<td class="colLast">
<div class="block">Transfers the specified source buffer's data to this buffer starting at
the current <code>writerIndex</code> until the source buffer's position
reaches its limit, and increases the <code>writerIndex</code> by the
number of the transferred bytes.</div>
</td>
</tr>
<tr id="i85" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer,int)">writeBytes</a></span>&#8203;(<a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;src,
int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Transfers the specified source buffer's data to this buffer starting at
the current <code>writerIndex</code> and increases the <code>writerIndex</code>
by the number of the transferred bytes (= <code>length</code>).</div>
</td>
</tr>
<tr id="i86" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer,int,int)">writeBytes</a></span>&#8203;(<a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;src,
int&nbsp;srcIndex,
int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Transfers the specified source buffer's data to this buffer starting at
the current <code>writerIndex</code> and increases the <code>writerIndex</code>
by the number of the transferred bytes (= <code>length</code>).</div>
</td>
</tr>
<tr id="i87" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeChar(char)">writeChar</a></span>&#8203;(char&nbsp;chr)</code></th>
<td class="colLast">
<div class="block">Sets the specified char at the current <code>writerIndex</code>
and increases the <code>writerIndex</code> by <code>2</code> in this buffer.</div>
</td>
</tr>
<tr id="i88" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeDouble(double)">writeDouble</a></span>&#8203;(double&nbsp;value)</code></th>
<td class="colLast">
<div class="block">Sets the specified double at the current <code>writerIndex</code>
and increases the <code>writerIndex</code> by <code>8</code> in this buffer.</div>
</td>
</tr>
<tr id="i89" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeFloat(float)">writeFloat</a></span>&#8203;(float&nbsp;value)</code></th>
<td class="colLast">
<div class="block">Sets the specified float at the current <code>writerIndex</code>
and increases the <code>writerIndex</code> by <code>4</code> in this buffer.</div>
</td>
</tr>
<tr id="i90" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeInt(int)">writeInt</a></span>&#8203;(int&nbsp;value)</code></th>
<td class="colLast">
<div class="block">Sets the specified 32-bit integer at the current <code>writerIndex</code>
and increases the <code>writerIndex</code> by <code>4</code> in this buffer.</div>
</td>
</tr>
<tr id="i91" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeLong(long)">writeLong</a></span>&#8203;(long&nbsp;value)</code></th>
<td class="colLast">
<div class="block">Sets the specified 64-bit long integer at the current
<code>writerIndex</code> and increases the <code>writerIndex</code> by <code>8</code>
in this buffer.</div>
</td>
</tr>
<tr id="i92" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeNullableBoolean(java.lang.Boolean)">writeNullableBoolean</a></span>&#8203;(<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;val)</code></th>
<td class="colLast">
<div class="block">Sets the specified (potentially <code>null</code>) Boolean at the current <code>writerIndex</code></div>
</td>
</tr>
<tr id="i93" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeNullableInt(java.lang.Integer)">writeNullableInt</a></span>&#8203;(<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;value)</code></th>
<td class="colLast">
<div class="block">Sets the specified (potentially <code>null</code>) 32-bit integer at the current <code>writerIndex</code>
and increases the <code>writerIndex</code> by <code>4</code> in this buffer.</div>
</td>
</tr>
<tr id="i94" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeNullableLong(java.lang.Long)">writeNullableLong</a></span>&#8203;(<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;value)</code></th>
<td class="colLast">
<div class="block">Sets the specified (potentially <code>null</code>) 64-bit long integer at the current
<code>writerIndex</code> and increases the <code>writerIndex</code> by <code>8</code>
in this buffer.</div>
</td>
</tr>
<tr id="i95" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeNullableSimpleString(org.apache.activemq.artemis.api.core.SimpleString)">writeNullableSimpleString</a></span>&#8203;(<a href="SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a>&nbsp;val)</code></th>
<td class="colLast">
<div class="block">Sets the specified SimpleString (potentially <code>null</code>) at the current <code>writerIndex</code></div>
</td>
</tr>
<tr id="i96" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeNullableString(java.lang.String)">writeNullableString</a></span>&#8203;(<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;val)</code></th>
<td class="colLast">
<div class="block">Sets the specified String (potentially <code>null</code>) at the current <code>writerIndex</code></div>
</td>
</tr>
<tr id="i97" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writerIndex()">writerIndex</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i98" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writerIndex(int)">writerIndex</a></span>&#8203;(int&nbsp;writerIndex)</code></th>
<td class="colLast">
<div class="block">Sets the <code>writerIndex</code> of this buffer.</div>
</td>
</tr>
<tr id="i99" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeShort(short)">writeShort</a></span>&#8203;(short&nbsp;value)</code></th>
<td class="colLast">
<div class="block">Sets the specified 16-bit short integer at the current
<code>writerIndex</code> and increases the <code>writerIndex</code> by <code>2</code>
in this buffer.</div>
</td>
</tr>
<tr id="i100" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeSimpleString(org.apache.activemq.artemis.api.core.SimpleString)">writeSimpleString</a></span>&#8203;(<a href="SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a>&nbsp;val)</code></th>
<td class="colLast">
<div class="block">Sets the specified non-null SimpleString at the current <code>writerIndex</code></div>
</td>
</tr>
<tr id="i101" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeString(java.lang.String)">writeString</a></span>&#8203;(<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;val)</code></th>
<td class="colLast">
<div class="block">Sets the specified non-null String at the current <code>writerIndex</code></div>
</td>
</tr>
<tr id="i102" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeUTF(java.lang.String)">writeUTF</a></span>&#8203;(<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;utf)</code></th>
<td class="colLast">
<div class="block">Sets the specified UTF-8 String at the current <code>writerIndex</code></div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.io.DataInput">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;java.io.<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true" title="class or interface in java.io" class="externalLink">DataInput</a></h3>
<code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true#readFully(byte%5B%5D)" title="class or interface in java.io" class="externalLink">readFully</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true#readFully(byte%5B%5D,int,int)" title="class or interface in java.io" class="externalLink">readFully</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true#readLine()" title="class or interface in java.io" class="externalLink">readLine</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="byteBuf()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>byteBuf</h4>
<pre class="methodSignature">io.netty.buffer.ByteBuf&nbsp;byteBuf()</pre>
<div class="block">Returns the underlying Netty's ByteBuf</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the underlying Netty's ByteBuf</dd>
</dl>
</li>
</ul>
<a id="capacity()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>capacity</h4>
<pre class="methodSignature">int&nbsp;capacity()</pre>
<div class="block">Returns the number of bytes this buffer can contain.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the number of bytes this buffer can contain.</dd>
</dl>
</li>
</ul>
<a id="readerIndex()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readerIndex</h4>
<pre class="methodSignature">int&nbsp;readerIndex()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <code>readerIndex</code> of this buffer.</dd>
</dl>
</li>
</ul>
<a id="readerIndex(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readerIndex</h4>
<pre class="methodSignature">void&nbsp;readerIndex&#8203;(int&nbsp;readerIndex)</pre>
<div class="block">Sets the <code>readerIndex</code> of this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>readerIndex</code> - The reader's index</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>readerIndex</code> is
less than <code>0</code> or
greater than <code>this.writerIndex</code></dd>
</dl>
</li>
</ul>
<a id="writerIndex()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writerIndex</h4>
<pre class="methodSignature">int&nbsp;writerIndex()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <code>writerIndex</code> of this buffer.</dd>
</dl>
</li>
</ul>
<a id="writerIndex(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writerIndex</h4>
<pre class="methodSignature">void&nbsp;writerIndex&#8203;(int&nbsp;writerIndex)</pre>
<div class="block">Sets the <code>writerIndex</code> of this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>writerIndex</code> - The writer's index</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>writerIndex</code> is
less than <code>this.readerIndex</code> or
greater than <code>this.capacity</code></dd>
</dl>
</li>
</ul>
<a id="setIndex(int,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIndex</h4>
<pre class="methodSignature">void&nbsp;setIndex&#8203;(int&nbsp;readerIndex,
int&nbsp;writerIndex)</pre>
<div class="block">Sets the <code>readerIndex</code> and <code>writerIndex</code> of this buffer
in one shot. This method is useful when you have to worry about the
invocation order of <a href="#readerIndex(int)"><code>readerIndex(int)</code></a> and <a href="#writerIndex(int)"><code>writerIndex(int)</code></a>
methods. For example, the following code will fail:
<pre>
// Create a buffer whose readerIndex, writerIndex and capacity are
// 0, 0 and 8 respectively.
ChannelBuffer buf = ChannelBuffers.buffer(8);
// IndexOutOfBoundsException is thrown because the specified
// readerIndex (2) cannot be greater than the current writerIndex (0).
buf.readerIndex(2);
buf.writerIndex(4);
</pre>
The following code will also fail:
<pre>
// Create a buffer whose readerIndex, writerIndex and capacity are
// 0, 8 and 8 respectively.
ChannelBuffer buf = ChannelBuffers.wrappedBuffer(new byte[8]);
// readerIndex becomes 8.
buf.readLong();
// IndexOutOfBoundsException is thrown because the specified
// writerIndex (4) cannot be less than the current readerIndex (8).
buf.writerIndex(4);
buf.readerIndex(2);
</pre>
By contrast, <a href="#setIndex(int,int)"><code>setIndex(int, int)</code></a> guarantees that it never
throws an <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>IndexOutOfBoundsException</code></a> as long as the specified
indexes meet basic constraints, regardless what the current index
values of the buffer are:
<pre>
// No matter what the current state of the buffer is, the following
// call always succeeds as long as the capacity of the buffer is not
// less than 4.
buf.setIndex(2, 4);
</pre></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>readerIndex</code> - The reader's index</dd>
<dd><code>writerIndex</code> - The writer's index</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>readerIndex</code> is less than 0,
if the specified <code>writerIndex</code> is less than the specified
<code>readerIndex</code> or if the specified <code>writerIndex</code> is
greater than <code>this.capacity</code></dd>
</dl>
</li>
</ul>
<a id="readableBytes()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readableBytes</h4>
<pre class="methodSignature">int&nbsp;readableBytes()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the number of readable bytes which is equal to <code>(this.writerIndex - this.readerIndex)</code>.</dd>
</dl>
</li>
</ul>
<a id="writableBytes()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writableBytes</h4>
<pre class="methodSignature">int&nbsp;writableBytes()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the number of writable bytes which is equal to <code>(this.capacity - this.writerIndex)</code>.</dd>
</dl>
</li>
</ul>
<a id="readable()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readable</h4>
<pre class="methodSignature">boolean&nbsp;readable()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>true</code> if and only if <code>(this.writerIndex - this.readerIndex)</code> is greater than <code>0</code>.</dd>
</dl>
</li>
</ul>
<a id="writable()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writable</h4>
<pre class="methodSignature">boolean&nbsp;writable()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>true</code>if and only if <code>(this.capacity - this.writerIndex)</code> is greater than <code>0</code>.</dd>
</dl>
</li>
</ul>
<a id="clear()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clear</h4>
<pre class="methodSignature">void&nbsp;clear()</pre>
<div class="block">Sets the <code>readerIndex</code> and <code>writerIndex</code> of this buffer to
<code>0</code>.
This method is identical to <a href="#setIndex(int,int)"><code>setIndex(0, 0)</code></a>.
<p>
Please note that the behavior of this method is different
from that of NIO buffer, which sets the <code>limit</code> to
the <code>capacity</code> of the buffer.</div>
</li>
</ul>
<a id="markReaderIndex()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>markReaderIndex</h4>
<pre class="methodSignature">void&nbsp;markReaderIndex()</pre>
<div class="block">Marks the current <code>readerIndex</code> in this buffer. You can
reposition the current <code>readerIndex</code> to the marked
<code>readerIndex</code> by calling <a href="#resetReaderIndex()"><code>resetReaderIndex()</code></a>.
The initial value of the marked <code>readerIndex</code> is <code>0</code>.</div>
</li>
</ul>
<a id="resetReaderIndex()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resetReaderIndex</h4>
<pre class="methodSignature">void&nbsp;resetReaderIndex()</pre>
<div class="block">Repositions the current <code>readerIndex</code> to the marked
<code>readerIndex</code> in this buffer.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the current <code>writerIndex</code> is less than the marked
<code>readerIndex</code></dd>
</dl>
</li>
</ul>
<a id="markWriterIndex()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>markWriterIndex</h4>
<pre class="methodSignature">void&nbsp;markWriterIndex()</pre>
<div class="block">Marks the current <code>writerIndex</code> in this buffer. You can
reposition the current <code>writerIndex</code> to the marked
<code>writerIndex</code> by calling <a href="#resetWriterIndex()"><code>resetWriterIndex()</code></a>.
The initial value of the marked <code>writerIndex</code> is <code>0</code>.</div>
</li>
</ul>
<a id="resetWriterIndex()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resetWriterIndex</h4>
<pre class="methodSignature">void&nbsp;resetWriterIndex()</pre>
<div class="block">Repositions the current <code>writerIndex</code> to the marked
<code>writerIndex</code> in this buffer.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the current <code>readerIndex</code> is greater than the marked
<code>writerIndex</code></dd>
</dl>
</li>
</ul>
<a id="discardReadBytes()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>discardReadBytes</h4>
<pre class="methodSignature">void&nbsp;discardReadBytes()</pre>
<div class="block">Discards the bytes between the 0th index and <code>readerIndex</code>.
It moves the bytes between <code>readerIndex</code> and <code>writerIndex</code>
to the 0th index, and sets <code>readerIndex</code> and <code>writerIndex</code>
to <code>0</code> and <code>oldWriterIndex - oldReaderIndex</code> respectively.
<p>
Please refer to the class documentation for more detailed explanation.</div>
</li>
</ul>
<a id="getByte(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getByte</h4>
<pre class="methodSignature">byte&nbsp;getByte&#8203;(int&nbsp;index)</pre>
<div class="block">Gets a byte at the specified absolute <code>index</code> in this buffer.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code> of
this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index into the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The byte at the specified index</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code> or
<code>index + 1</code> is greater than <code>this.capacity</code></dd>
</dl>
</li>
</ul>
<a id="getUnsignedByte(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUnsignedByte</h4>
<pre class="methodSignature">short&nbsp;getUnsignedByte&#8203;(int&nbsp;index)</pre>
<div class="block">Gets an unsigned byte at the specified absolute <code>index</code> in this
buffer. This method does not modify <code>readerIndex</code> or
<code>writerIndex</code> of this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index into the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an unsigned byte at the specified absolute <code>index</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code> or
<code>index + 1</code> is greater than <code>this.capacity</code></dd>
</dl>
</li>
</ul>
<a id="getShort(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getShort</h4>
<pre class="methodSignature">short&nbsp;getShort&#8203;(int&nbsp;index)</pre>
<div class="block">Gets a 16-bit short integer at the specified absolute <code>index</code> in
this buffer. This method does not modify <code>readerIndex</code> or
<code>writerIndex</code> of this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index into the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a 16-bit short integer at the specified absolute <code>index</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code> or
<code>index + 2</code> is greater than <code>this.capacity</code></dd>
</dl>
</li>
</ul>
<a id="getUnsignedShort(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUnsignedShort</h4>
<pre class="methodSignature">int&nbsp;getUnsignedShort&#8203;(int&nbsp;index)</pre>
<div class="block">Gets an unsigned 16-bit short integer at the specified absolute
<code>index</code> in this buffer. This method does not modify
<code>readerIndex</code> or <code>writerIndex</code> of this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index into the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an unsigned 16-bit short integer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code> or
<code>index + 2</code> is greater than <code>this.capacity</code></dd>
</dl>
</li>
</ul>
<a id="getInt(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInt</h4>
<pre class="methodSignature">int&nbsp;getInt&#8203;(int&nbsp;index)</pre>
<div class="block">Gets a 32-bit integer at the specified absolute <code>index</code> in
this buffer. This method does not modify <code>readerIndex</code> or
<code>writerIndex</code> of this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index into the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a 32-bit integer at the specified absolute <code>index</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code> or
<code>index + 4</code> is greater than <code>this.capacity</code></dd>
</dl>
</li>
</ul>
<a id="getUnsignedInt(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUnsignedInt</h4>
<pre class="methodSignature">long&nbsp;getUnsignedInt&#8203;(int&nbsp;index)</pre>
<div class="block">Gets an unsigned 32-bit integer at the specified absolute <code>index</code>
in this buffer. This method does not modify <code>readerIndex</code> or
<code>writerIndex</code> of this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The index into this buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an unsigned 32-bit integer at the specified absolute <code>index</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code> or
<code>index + 4</code> is greater than <code>this.capacity</code></dd>
</dl>
</li>
</ul>
<a id="getLong(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLong</h4>
<pre class="methodSignature">long&nbsp;getLong&#8203;(int&nbsp;index)</pre>
<div class="block">Gets a 64-bit long integer at the specified absolute <code>index</code> in
this buffer. This method does not modify <code>readerIndex</code> or
<code>writerIndex</code> of this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index into the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a 64-bit long integer at the specified absolute <code>index</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code> or
<code>index + 8</code> is greater than <code>this.capacity</code></dd>
</dl>
</li>
</ul>
<a id="getBytes(int,org.apache.activemq.artemis.api.core.ActiveMQBuffer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBytes</h4>
<pre class="methodSignature">void&nbsp;getBytes&#8203;(int&nbsp;index,
<a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;dst)</pre>
<div class="block">Transfers this buffer's data to the specified destination starting at
the specified absolute <code>index</code> until the destination becomes
non-writable. This method is basically same with
<a href="#getBytes(int,org.apache.activemq.artemis.api.core.ActiveMQBuffer,int,int)"><code>getBytes(int, ActiveMQBuffer, int, int)</code></a>, except that this
method increases the <code>writerIndex</code> of the destination by the
number of the transferred bytes while
<a href="#getBytes(int,org.apache.activemq.artemis.api.core.ActiveMQBuffer,int,int)"><code>getBytes(int, ActiveMQBuffer, int, int)</code></a> does not.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code> of
the source buffer (i.e. <code>this</code>).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index into the buffer</dd>
<dd><code>dst</code> - The destination buffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code> or
if <code>index + dst.writableBytes</code> is greater than
<code>this.capacity</code></dd>
</dl>
</li>
</ul>
<a id="getBytes(int,org.apache.activemq.artemis.api.core.ActiveMQBuffer,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBytes</h4>
<pre class="methodSignature">void&nbsp;getBytes&#8203;(int&nbsp;index,
<a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;dst,
int&nbsp;length)</pre>
<div class="block">Transfers this buffer's data to the specified destination starting at
the specified absolute <code>index</code>. This method is basically same
with <a href="#getBytes(int,org.apache.activemq.artemis.api.core.ActiveMQBuffer,int,int)"><code>getBytes(int, ActiveMQBuffer, int, int)</code></a>, except that this
method increases the <code>writerIndex</code> of the destination by the
number of the transferred bytes while
<a href="#getBytes(int,org.apache.activemq.artemis.api.core.ActiveMQBuffer,int,int)"><code>getBytes(int, ActiveMQBuffer, int, int)</code></a> does not.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code> of
the source buffer (i.e. <code>this</code>).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>length</code> - the number of bytes to transfer</dd>
<dd><code>index</code> - Index into the buffer</dd>
<dd><code>dst</code> - The destination buffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code>,
if <code>index + length</code> is greater than
<code>this.capacity</code>, or
if <code>length</code> is greater than <code>dst.writableBytes</code></dd>
</dl>
</li>
</ul>
<a id="getBytes(int,org.apache.activemq.artemis.api.core.ActiveMQBuffer,int,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBytes</h4>
<pre class="methodSignature">void&nbsp;getBytes&#8203;(int&nbsp;index,
<a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;dst,
int&nbsp;dstIndex,
int&nbsp;length)</pre>
<div class="block">Transfers this buffer's data to the specified destination starting at
the specified absolute <code>index</code>.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code>
of both the source (i.e. <code>this</code>) and the destination.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dst</code> - The destination bufferIndex the first index of the destination</dd>
<dd><code>length</code> - The number of bytes to transfer</dd>
<dd><code>index</code> - Index into the buffer</dd>
<dd><code>dstIndex</code> - The index into the destination bufferThe destination buffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code>,
if the specified <code>dstIndex</code> is less than <code>0</code>,
if <code>index + length</code> is greater than
<code>this.capacity</code>, or
if <code>dstIndex + length</code> is greater than
<code>dst.capacity</code></dd>
</dl>
</li>
</ul>
<a id="getBytes(int,byte[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBytes</h4>
<pre class="methodSignature">void&nbsp;getBytes&#8203;(int&nbsp;index,
byte[]&nbsp;dst)</pre>
<div class="block">Transfers this buffer's data to the specified destination starting at
the specified absolute <code>index</code>.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code> of
this buffer</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index into the buffer</dd>
<dd><code>dst</code> - The destination buffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code> or
if <code>index + dst.length</code> is greater than
<code>this.capacity</code></dd>
</dl>
</li>
</ul>
<a id="getBytes(int,byte[],int,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBytes</h4>
<pre class="methodSignature">void&nbsp;getBytes&#8203;(int&nbsp;index,
byte[]&nbsp;dst,
int&nbsp;dstIndex,
int&nbsp;length)</pre>
<div class="block">Transfers this buffer's data to the specified destination starting at
the specified absolute <code>index</code>.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code>
of this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dstIndex</code> - The first index of the destination</dd>
<dd><code>length</code> - The number of bytes to transfer</dd>
<dd><code>index</code> - Index into the buffer</dd>
<dd><code>dst</code> - The destination buffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code>,
if the specified <code>dstIndex</code> is less than <code>0</code>,
if <code>index + length</code> is greater than
<code>this.capacity</code>, or
if <code>dstIndex + length</code> is greater than
<code>dst.length</code></dd>
</dl>
</li>
</ul>
<a id="getBytes(int,java.nio.ByteBuffer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBytes</h4>
<pre class="methodSignature">void&nbsp;getBytes&#8203;(int&nbsp;index,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio" class="externalLink">ByteBuffer</a>&nbsp;dst)</pre>
<div class="block">Transfers this buffer's data to the specified destination starting at
the specified absolute <code>index</code> until the destination's position
reaches its limit.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code> of
this buffer while the destination's <code>position</code> will be increased.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index into the buffer</dd>
<dd><code>dst</code> - The destination buffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code> or
if <code>index + dst.remaining()</code> is greater than
<code>this.capacity</code></dd>
</dl>
</li>
</ul>
<a id="getChar(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChar</h4>
<pre class="methodSignature">char&nbsp;getChar&#8203;(int&nbsp;index)</pre>
<div class="block">Gets a char at the specified absolute <code>index</code> in
this buffer. This method does not modify <code>readerIndex</code> or
<code>writerIndex</code> of this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index into the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a char at the specified absolute <code>index</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code> or
<code>index + 2</code> is greater than <code>this.capacity</code></dd>
</dl>
</li>
</ul>
<a id="getFloat(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFloat</h4>
<pre class="methodSignature">float&nbsp;getFloat&#8203;(int&nbsp;index)</pre>
<div class="block">Gets a float at the specified absolute <code>index</code> in
this buffer. This method does not modify <code>readerIndex</code> or
<code>writerIndex</code> of this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index into the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a float at the specified absolute <code>index</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code> or
<code>index + 4</code> is greater than <code>this.capacity</code></dd>
</dl>
</li>
</ul>
<a id="getDouble(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDouble</h4>
<pre class="methodSignature">double&nbsp;getDouble&#8203;(int&nbsp;index)</pre>
<div class="block">Gets a double at the specified absolute <code>index</code> in
this buffer. This method does not modify <code>readerIndex</code> or
<code>writerIndex</code> of this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index into the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a double at the specified absolute <code>index</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code> or
<code>index + 8</code> is greater than <code>this.capacity</code></dd>
</dl>
</li>
</ul>
<a id="setByte(int,byte)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setByte</h4>
<pre class="methodSignature">void&nbsp;setByte&#8203;(int&nbsp;index,
byte&nbsp;value)</pre>
<div class="block">Sets the specified byte at the specified absolute <code>index</code> in this
buffer.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code> of
this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index into the buffer</dd>
<dd><code>value</code> - The specified byte</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code> or
<code>index + 1</code> is greater than <code>this.capacity</code></dd>
</dl>
</li>
</ul>
<a id="setShort(int,short)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setShort</h4>
<pre class="methodSignature">void&nbsp;setShort&#8203;(int&nbsp;index,
short&nbsp;value)</pre>
<div class="block">Sets the specified 16-bit short integer at the specified absolute
<code>index</code> in this buffer.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code> of
this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index into the buffer</dd>
<dd><code>value</code> - The specified 16-bit short integer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code> or
<code>index + 2</code> is greater than <code>this.capacity</code></dd>
</dl>
</li>
</ul>
<a id="setInt(int,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setInt</h4>
<pre class="methodSignature">void&nbsp;setInt&#8203;(int&nbsp;index,
int&nbsp;value)</pre>
<div class="block">Sets the specified 32-bit integer at the specified absolute
<code>index</code> in this buffer.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code> of
this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index into the buffer</dd>
<dd><code>value</code> - The specified 32-bit integer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code> or
<code>index + 4</code> is greater than <code>this.capacity</code></dd>
</dl>
</li>
</ul>
<a id="setLong(int,long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLong</h4>
<pre class="methodSignature">void&nbsp;setLong&#8203;(int&nbsp;index,
long&nbsp;value)</pre>
<div class="block">Sets the specified 64-bit long integer at the specified absolute
<code>index</code> in this buffer.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code> of
this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index into the buffer</dd>
<dd><code>value</code> - The specified 64-bit long integer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code> or
<code>index + 8</code> is greater than <code>this.capacity</code></dd>
</dl>
</li>
</ul>
<a id="setBytes(int,org.apache.activemq.artemis.api.core.ActiveMQBuffer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBytes</h4>
<pre class="methodSignature">void&nbsp;setBytes&#8203;(int&nbsp;index,
<a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;src)</pre>
<div class="block">Transfers the specified source buffer's data to this buffer starting at
the specified absolute <code>index</code> until the destination becomes
unreadable. This method is basically same with
<a href="#setBytes(int,org.apache.activemq.artemis.api.core.ActiveMQBuffer,int,int)"><code>setBytes(int, ActiveMQBuffer, int, int)</code></a>, except that this
method increases the <code>readerIndex</code> of the source buffer by
the number of the transferred bytes while
<a href="#getBytes(int,org.apache.activemq.artemis.api.core.ActiveMQBuffer,int,int)"><code>getBytes(int, ActiveMQBuffer, int, int)</code></a> does not.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code> of
the source buffer (i.e. <code>this</code>).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index into the buffer</dd>
<dd><code>src</code> - The source buffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code> or
if <code>index + src.readableBytes</code> is greater than
<code>this.capacity</code></dd>
</dl>
</li>
</ul>
<a id="setBytes(int,org.apache.activemq.artemis.api.core.ActiveMQBuffer,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBytes</h4>
<pre class="methodSignature">void&nbsp;setBytes&#8203;(int&nbsp;index,
<a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;src,
int&nbsp;length)</pre>
<div class="block">Transfers the specified source buffer's data to this buffer starting at
the specified absolute <code>index</code>. This method is basically same
with <a href="#setBytes(int,org.apache.activemq.artemis.api.core.ActiveMQBuffer,int,int)"><code>setBytes(int, ActiveMQBuffer, int, int)</code></a>, except that this
method increases the <code>readerIndex</code> of the source buffer by
the number of the transferred bytes while
<a href="#getBytes(int,org.apache.activemq.artemis.api.core.ActiveMQBuffer,int,int)"><code>getBytes(int, ActiveMQBuffer, int, int)</code></a> does not.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code> of
the source buffer (i.e. <code>this</code>).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>length</code> - the number of bytes to transfer</dd>
<dd><code>index</code> - Index into the buffer</dd>
<dd><code>src</code> - The source buffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code>,
if <code>index + length</code> is greater than
<code>this.capacity</code>, or
if <code>length</code> is greater than <code>src.readableBytes</code></dd>
</dl>
</li>
</ul>
<a id="setBytes(int,org.apache.activemq.artemis.api.core.ActiveMQBuffer,int,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBytes</h4>
<pre class="methodSignature">void&nbsp;setBytes&#8203;(int&nbsp;index,
<a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;src,
int&nbsp;srcIndex,
int&nbsp;length)</pre>
<div class="block">Transfers the specified source buffer's data to this buffer starting at
the specified absolute <code>index</code>.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code>
of both the source (i.e. <code>this</code>) and the destination.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>src</code> - The source bufferIndex the first index of the source</dd>
<dd><code>length</code> - The number of bytes to transfer</dd>
<dd><code>index</code> - Index into the buffer</dd>
<dd><code>srcIndex</code> - The source buffer index</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code>,
if the specified <code>srcIndex</code> is less than <code>0</code>,
if <code>index + length</code> is greater than
<code>this.capacity</code>, or
if <code>srcIndex + length</code> is greater than
<code>src.capacity</code></dd>
</dl>
</li>
</ul>
<a id="setBytes(int,byte[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBytes</h4>
<pre class="methodSignature">void&nbsp;setBytes&#8203;(int&nbsp;index,
byte[]&nbsp;src)</pre>
<div class="block">Transfers the specified source array's data to this buffer starting at
the specified absolute <code>index</code>.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code> of
this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index into the buffer</dd>
<dd><code>src</code> - The source buffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code> or
if <code>index + src.length</code> is greater than
<code>this.capacity</code></dd>
</dl>
</li>
</ul>
<a id="setBytes(int,byte[],int,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBytes</h4>
<pre class="methodSignature">void&nbsp;setBytes&#8203;(int&nbsp;index,
byte[]&nbsp;src,
int&nbsp;srcIndex,
int&nbsp;length)</pre>
<div class="block">Transfers the specified source array's data to this buffer starting at
the specified absolute <code>index</code>.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code> of
this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index into the buffer</dd>
<dd><code>src</code> - The source buffer</dd>
<dd><code>srcIndex</code> - The source buffer index</dd>
<dd><code>length</code> - The number of bytes to transfer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code>,
if the specified <code>srcIndex</code> is less than <code>0</code>,
if <code>index + length</code> is greater than
<code>this.capacity</code>, or
if <code>srcIndex + length</code> is greater than <code>src.length</code></dd>
</dl>
</li>
</ul>
<a id="setBytes(int,java.nio.ByteBuffer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBytes</h4>
<pre class="methodSignature">void&nbsp;setBytes&#8203;(int&nbsp;index,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio" class="externalLink">ByteBuffer</a>&nbsp;src)</pre>
<div class="block">Transfers the specified source buffer's data to this buffer starting at
the specified absolute <code>index</code> until the source buffer's position
reaches its limit.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code> of
this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index into the buffer</dd>
<dd><code>src</code> - The source buffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code> or
if <code>index + src.remaining()</code> is greater than
<code>this.capacity</code></dd>
</dl>
</li>
</ul>
<a id="setChar(int,char)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setChar</h4>
<pre class="methodSignature">void&nbsp;setChar&#8203;(int&nbsp;index,
char&nbsp;value)</pre>
<div class="block">Sets the specified char at the specified absolute
<code>index</code> in this buffer.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code> of
this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index into the buffer</dd>
<dd><code>value</code> - The specified char</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code> or
<code>index + 2</code> is greater than <code>this.capacity</code></dd>
</dl>
</li>
</ul>
<a id="setFloat(int,float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFloat</h4>
<pre class="methodSignature">void&nbsp;setFloat&#8203;(int&nbsp;index,
float&nbsp;value)</pre>
<div class="block">Sets the specified float at the specified absolute
<code>index</code> in this buffer.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code> of
this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index into the buffer</dd>
<dd><code>value</code> - The specified float</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code> or
<code>index + 4</code> is greater than <code>this.capacity</code></dd>
</dl>
</li>
</ul>
<a id="setDouble(int,double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDouble</h4>
<pre class="methodSignature">void&nbsp;setDouble&#8203;(int&nbsp;index,
double&nbsp;value)</pre>
<div class="block">Sets the specified double at the specified absolute
<code>index</code> in this buffer.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code> of
this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index into the buffer</dd>
<dd><code>value</code> - The specified double</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>index</code> is less than <code>0</code> or
<code>index + 8</code> is greater than <code>this.capacity</code></dd>
</dl>
</li>
</ul>
<a id="readByte()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readByte</h4>
<pre class="methodSignature">byte&nbsp;readByte()</pre>
<div class="block">Gets a byte at the current <code>readerIndex</code> and increases
the <code>readerIndex</code> by <code>1</code> in this buffer.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true#readByte()" title="class or interface in java.io" class="externalLink">readByte</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true" title="class or interface in java.io" class="externalLink">DataInput</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a byte at the current <code>readerIndex</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>this.readableBytes</code> is less than <code>1</code></dd>
</dl>
</li>
</ul>
<a id="readUnsignedByte()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readUnsignedByte</h4>
<pre class="methodSignature">int&nbsp;readUnsignedByte()</pre>
<div class="block">Gets an unsigned byte at the current <code>readerIndex</code> and increases
the <code>readerIndex</code> by <code>1</code> in this buffer.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true#readUnsignedByte()" title="class or interface in java.io" class="externalLink">readUnsignedByte</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true" title="class or interface in java.io" class="externalLink">DataInput</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an unsigned byte at the current <code>readerIndex</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>this.readableBytes</code> is less than <code>1</code></dd>
</dl>
</li>
</ul>
<a id="readShort()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readShort</h4>
<pre class="methodSignature">short&nbsp;readShort()</pre>
<div class="block">Gets a 16-bit short integer at the current <code>readerIndex</code>
and increases the <code>readerIndex</code> by <code>2</code> in this buffer.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true#readShort()" title="class or interface in java.io" class="externalLink">readShort</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true" title="class or interface in java.io" class="externalLink">DataInput</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a 16-bit short integer at the current <code>readerIndex</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>this.readableBytes</code> is less than <code>2</code></dd>
</dl>
</li>
</ul>
<a id="readUnsignedShort()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readUnsignedShort</h4>
<pre class="methodSignature">int&nbsp;readUnsignedShort()</pre>
<div class="block">Gets an unsigned 16-bit short integer at the current <code>readerIndex</code>
and increases the <code>readerIndex</code> by <code>2</code> in this buffer.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true#readUnsignedShort()" title="class or interface in java.io" class="externalLink">readUnsignedShort</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true" title="class or interface in java.io" class="externalLink">DataInput</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an unsigned 16-bit short integer at the current <code>readerIndex</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>this.readableBytes</code> is less than <code>2</code></dd>
</dl>
</li>
</ul>
<a id="readInt()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readInt</h4>
<pre class="methodSignature">int&nbsp;readInt()</pre>
<div class="block">Gets a 32-bit integer at the current <code>readerIndex</code>
and increases the <code>readerIndex</code> by <code>4</code> in this buffer.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true#readInt()" title="class or interface in java.io" class="externalLink">readInt</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true" title="class or interface in java.io" class="externalLink">DataInput</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a 32-bit integer at the current <code>readerIndex</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>this.readableBytes</code> is less than <code>4</code></dd>
</dl>
</li>
</ul>
<a id="readNullableInt()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readNullableInt</h4>
<pre class="methodSignature"><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;readNullableInt()</pre>
<div class="block">Gets a (potentially <code>null</code>) 32-bit integer at the current <code>readerIndex</code>
and increases the <code>readerIndex</code> by <code>4</code> in this buffer.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a (potentially <code>null</code>) 32-bit integer at the current <code>readerIndex</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>this.readableBytes</code> is less than <code>4</code></dd>
</dl>
</li>
</ul>
<a id="readUnsignedInt()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readUnsignedInt</h4>
<pre class="methodSignature">long&nbsp;readUnsignedInt()</pre>
<div class="block">Gets an unsigned 32-bit integer at the current <code>readerIndex</code>
and increases the <code>readerIndex</code> by <code>4</code> in this buffer.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an unsigned 32-bit integer at the current <code>readerIndex</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>this.readableBytes</code> is less than <code>4</code></dd>
</dl>
</li>
</ul>
<a id="readLong()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readLong</h4>
<pre class="methodSignature">long&nbsp;readLong()</pre>
<div class="block">Gets a 64-bit integer at the current <code>readerIndex</code>
and increases the <code>readerIndex</code> by <code>8</code> in this buffer.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true#readLong()" title="class or interface in java.io" class="externalLink">readLong</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true" title="class or interface in java.io" class="externalLink">DataInput</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a 64-bit integer at the current <code>readerIndex</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>this.readableBytes</code> is less than <code>8</code></dd>
</dl>
</li>
</ul>
<a id="readNullableLong()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readNullableLong</h4>
<pre class="methodSignature"><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;readNullableLong()</pre>
<div class="block">Gets a (potentially <code>null</code>) 64-bit integer at the current <code>readerIndex</code>
and increases the <code>readerIndex</code> by <code>8</code> in this buffer.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a (potentially <code>null</code>) 64-bit integer at the current <code>readerIndex</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>this.readableBytes</code> is less than <code>8</code></dd>
</dl>
</li>
</ul>
<a id="readChar()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readChar</h4>
<pre class="methodSignature">char&nbsp;readChar()</pre>
<div class="block">Gets a char at the current <code>readerIndex</code>
and increases the <code>readerIndex</code> by <code>2</code> in this buffer.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true#readChar()" title="class or interface in java.io" class="externalLink">readChar</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true" title="class or interface in java.io" class="externalLink">DataInput</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a char at the current <code>readerIndex</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>this.readableBytes</code> is less than <code>2</code></dd>
</dl>
</li>
</ul>
<a id="readFloat()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readFloat</h4>
<pre class="methodSignature">float&nbsp;readFloat()</pre>
<div class="block">Gets a float at the current <code>readerIndex</code>
and increases the <code>readerIndex</code> by <code>4</code> in this buffer.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true#readFloat()" title="class or interface in java.io" class="externalLink">readFloat</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true" title="class or interface in java.io" class="externalLink">DataInput</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a float at the current <code>readerIndex</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>this.readableBytes</code> is less than <code>4</code></dd>
</dl>
</li>
</ul>
<a id="readDouble()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readDouble</h4>
<pre class="methodSignature">double&nbsp;readDouble()</pre>
<div class="block">Gets a double at the current <code>readerIndex</code>
and increases the <code>readerIndex</code> by <code>8</code> in this buffer.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true#readDouble()" title="class or interface in java.io" class="externalLink">readDouble</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true" title="class or interface in java.io" class="externalLink">DataInput</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a double at the current <code>readerIndex</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>this.readableBytes</code> is less than <code>8</code></dd>
</dl>
</li>
</ul>
<a id="readBoolean()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readBoolean</h4>
<pre class="methodSignature">boolean&nbsp;readBoolean()</pre>
<div class="block">Gets a boolean at the current <code>readerIndex</code>
and increases the <code>readerIndex</code> by <code>1</code> in this buffer.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true#readBoolean()" title="class or interface in java.io" class="externalLink">readBoolean</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true" title="class or interface in java.io" class="externalLink">DataInput</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a boolean at the current <code>readerIndex</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>this.readableBytes</code> is less than <code>1</code></dd>
</dl>
</li>
</ul>
<a id="readNullableBoolean()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readNullableBoolean</h4>
<pre class="methodSignature"><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;readNullableBoolean()</pre>
<div class="block">Gets a (potentially <code>null</code>) boolean at the current <code>readerIndex</code>
and increases the <code>readerIndex</code> by <code>1</code> in this buffer.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a (potentially <code>null</code>) boolean at the current <code>readerIndex</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>this.readableBytes</code> is less than <code>1</code></dd>
</dl>
</li>
</ul>
<a id="readNullableSimpleString()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readNullableSimpleString</h4>
<pre class="methodSignature"><a href="SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a>&nbsp;readNullableSimpleString()</pre>
<div class="block">Gets a SimpleString (potentially <code>null</code>) at the current <code>readerIndex</code></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a SimpleString (potentially <code>null</code>) at the current <code>readerIndex</code></dd>
</dl>
</li>
</ul>
<a id="readNullableString()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readNullableString</h4>
<pre class="methodSignature"><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;readNullableString()</pre>
<div class="block">Gets a String (potentially <code>null</code>) at the current <code>readerIndex</code></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a String (potentially <code>null</code>) at the current <code>readerIndex</code></dd>
</dl>
</li>
</ul>
<a id="readSimpleString()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readSimpleString</h4>
<pre class="methodSignature"><a href="SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a>&nbsp;readSimpleString()</pre>
<div class="block">Gets a non-null SimpleString at the current <code>readerIndex</code></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a non-null SimpleString at the current <code>readerIndex</code></dd>
</dl>
</li>
</ul>
<a id="readString()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readString</h4>
<pre class="methodSignature"><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()</pre>
<div class="block">Gets a non-null String at the current <code>readerIndex</code></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a non-null String at the current <code>readerIndex</code></dd>
</dl>
</li>
</ul>
<a id="readUTF()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readUTF</h4>
<pre class="methodSignature"><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;readUTF()</pre>
<div class="block">Gets a UTF-8 String at the current <code>readerIndex</code></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true#readUTF()" title="class or interface in java.io" class="externalLink">readUTF</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true" title="class or interface in java.io" class="externalLink">DataInput</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a UTF-8 String at the current <code>readerIndex</code></dd>
</dl>
</li>
</ul>
<a id="readSlice(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readSlice</h4>
<pre class="methodSignature"><a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;readSlice&#8203;(int&nbsp;length)</pre>
<div class="block">Returns a new slice of this buffer's sub-region starting at the current
<code>readerIndex</code> and increases the <code>readerIndex</code> by the size
of the new slice (= <code>length</code>).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>length</code> - the size of the new slice</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the newly created slice</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>length</code> is greater than <code>this.readableBytes</code></dd>
</dl>
</li>
</ul>
<a id="readBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readBytes</h4>
<pre class="methodSignature">void&nbsp;readBytes&#8203;(<a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;dst)</pre>
<div class="block">Transfers this buffer's data to the specified destination starting at
the current <code>readerIndex</code> until the destination becomes
non-writable, and increases the <code>readerIndex</code> by the number of the
transferred bytes. This method is basically same with
<a href="#readBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer,int,int)"><code>readBytes(ActiveMQBuffer, int, int)</code></a>, except that this method
increases the <code>writerIndex</code> of the destination by the number of
the transferred bytes while <a href="#readBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer,int,int)"><code>readBytes(ActiveMQBuffer, int, int)</code></a>
does not.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dst</code> - The destination buffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>dst.writableBytes</code> is greater than
<code>this.readableBytes</code></dd>
</dl>
</li>
</ul>
<a id="readBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readBytes</h4>
<pre class="methodSignature">void&nbsp;readBytes&#8203;(<a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;dst,
int&nbsp;length)</pre>
<div class="block">Transfers this buffer's data to the specified destination starting at
the current <code>readerIndex</code> and increases the <code>readerIndex</code>
by the number of the transferred bytes (= <code>length</code>). This method
is basically same with <a href="#readBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer,int,int)"><code>readBytes(ActiveMQBuffer, int, int)</code></a>,
except that this method increases the <code>writerIndex</code> of the
destination by the number of the transferred bytes (= <code>length</code>)
while <a href="#readBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer,int,int)"><code>readBytes(ActiveMQBuffer, int, int)</code></a> does not.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dst</code> - The destination buffer</dd>
<dd><code>length</code> - The number of bytes to transfer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>length</code> is greater than <code>this.readableBytes</code> or
if <code>length</code> is greater than <code>dst.writableBytes</code></dd>
</dl>
</li>
</ul>
<a id="readBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer,int,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readBytes</h4>
<pre class="methodSignature">void&nbsp;readBytes&#8203;(<a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;dst,
int&nbsp;dstIndex,
int&nbsp;length)</pre>
<div class="block">Transfers this buffer's data to the specified destination starting at
the current <code>readerIndex</code> and increases the <code>readerIndex</code>
by the number of the transferred bytes (= <code>length</code>).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dstIndex</code> - The destination buffer index</dd>
<dd><code>length</code> - the number of bytes to transfer</dd>
<dd><code>dst</code> - The destination buffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>dstIndex</code> is less than <code>0</code>,
if <code>length</code> is greater than <code>this.readableBytes</code>, or
if <code>dstIndex + length</code> is greater than
<code>dst.capacity</code></dd>
</dl>
</li>
</ul>
<a id="readBytes(byte[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readBytes</h4>
<pre class="methodSignature">void&nbsp;readBytes&#8203;(byte[]&nbsp;dst)</pre>
<div class="block">Transfers this buffer's data to the specified destination starting at
the current <code>readerIndex</code> and increases the <code>readerIndex</code>
by the number of the transferred bytes (= <code>dst.length</code>).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dst</code> - The destination buffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>dst.length</code> is greater than <code>this.readableBytes</code></dd>
</dl>
</li>
</ul>
<a id="readBytes(byte[],int,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readBytes</h4>
<pre class="methodSignature">void&nbsp;readBytes&#8203;(byte[]&nbsp;dst,
int&nbsp;dstIndex,
int&nbsp;length)</pre>
<div class="block">Transfers this buffer's data to the specified destination starting at
the current <code>readerIndex</code> and increases the <code>readerIndex</code>
by the number of the transferred bytes (= <code>length</code>).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dstIndex</code> - The destination bufferIndex</dd>
<dd><code>length</code> - the number of bytes to transfer</dd>
<dd><code>dst</code> - The destination buffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>dstIndex</code> is less than <code>0</code>,
if <code>length</code> is greater than <code>this.readableBytes</code>, or
if <code>dstIndex + length</code> is greater than <code>dst.length</code></dd>
</dl>
</li>
</ul>
<a id="readBytes(java.nio.ByteBuffer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readBytes</h4>
<pre class="methodSignature">void&nbsp;readBytes&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio" class="externalLink">ByteBuffer</a>&nbsp;dst)</pre>
<div class="block">Transfers this buffer's data to the specified destination starting at
the current <code>readerIndex</code> until the destination's position
reaches its limit, and increases the <code>readerIndex</code> by the
number of the transferred bytes.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dst</code> - The destination buffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>dst.remaining()</code> is greater than
<code>this.readableBytes</code></dd>
</dl>
</li>
</ul>
<a id="skipBytes(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>skipBytes</h4>
<pre class="methodSignature">int&nbsp;skipBytes&#8203;(int&nbsp;length)</pre>
<div class="block">Increases the current <code>readerIndex</code> by the specified
<code>length</code> in this buffer.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true#skipBytes(int)" title="class or interface in java.io" class="externalLink">skipBytes</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/DataInput.html?is-external=true" title="class or interface in java.io" class="externalLink">DataInput</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>length</code> - The number of bytes to skip</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>length</code> is greater than <code>this.readableBytes</code></dd>
</dl>
</li>
</ul>
<a id="writeByte(byte)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeByte</h4>
<pre class="methodSignature">void&nbsp;writeByte&#8203;(byte&nbsp;value)</pre>
<div class="block">Sets the specified byte at the current <code>writerIndex</code>
and increases the <code>writerIndex</code> by <code>1</code> in this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - The specified byte</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>this.writableBytes</code> is less than <code>1</code></dd>
</dl>
</li>
</ul>
<a id="writeShort(short)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeShort</h4>
<pre class="methodSignature">void&nbsp;writeShort&#8203;(short&nbsp;value)</pre>
<div class="block">Sets the specified 16-bit short integer at the current
<code>writerIndex</code> and increases the <code>writerIndex</code> by <code>2</code>
in this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - The specified 16-bit short integer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>this.writableBytes</code> is less than <code>2</code></dd>
</dl>
</li>
</ul>
<a id="writeInt(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeInt</h4>
<pre class="methodSignature">void&nbsp;writeInt&#8203;(int&nbsp;value)</pre>
<div class="block">Sets the specified 32-bit integer at the current <code>writerIndex</code>
and increases the <code>writerIndex</code> by <code>4</code> in this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - The specified 32-bit integer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>this.writableBytes</code> is less than <code>4</code></dd>
</dl>
</li>
</ul>
<a id="writeNullableInt(java.lang.Integer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeNullableInt</h4>
<pre class="methodSignature">void&nbsp;writeNullableInt&#8203;(<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;value)</pre>
<div class="block">Sets the specified (potentially <code>null</code>) 32-bit integer at the current <code>writerIndex</code>
and increases the <code>writerIndex</code> by <code>4</code> in this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - The specified (potentially <code>null</code>) 32-bit integer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>this.writableBytes</code> is less than <code>4</code></dd>
</dl>
</li>
</ul>
<a id="writeLong(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeLong</h4>
<pre class="methodSignature">void&nbsp;writeLong&#8203;(long&nbsp;value)</pre>
<div class="block">Sets the specified 64-bit long integer at the current
<code>writerIndex</code> and increases the <code>writerIndex</code> by <code>8</code>
in this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - The specified 64-bit long integer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>this.writableBytes</code> is less than <code>8</code></dd>
</dl>
</li>
</ul>
<a id="writeNullableLong(java.lang.Long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeNullableLong</h4>
<pre class="methodSignature">void&nbsp;writeNullableLong&#8203;(<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;value)</pre>
<div class="block">Sets the specified (potentially <code>null</code>) 64-bit long integer at the current
<code>writerIndex</code> and increases the <code>writerIndex</code> by <code>8</code>
in this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - The specified (potentially <code>null</code>) 64-bit long integer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>this.writableBytes</code> is less than <code>8</code></dd>
</dl>
</li>
</ul>
<a id="writeChar(char)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeChar</h4>
<pre class="methodSignature">void&nbsp;writeChar&#8203;(char&nbsp;chr)</pre>
<div class="block">Sets the specified char at the current <code>writerIndex</code>
and increases the <code>writerIndex</code> by <code>2</code> in this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>chr</code> - The specified char</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>this.writableBytes</code> is less than <code>2</code></dd>
</dl>
</li>
</ul>
<a id="writeFloat(float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeFloat</h4>
<pre class="methodSignature">void&nbsp;writeFloat&#8203;(float&nbsp;value)</pre>
<div class="block">Sets the specified float at the current <code>writerIndex</code>
and increases the <code>writerIndex</code> by <code>4</code> in this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - The specified float</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>this.writableBytes</code> is less than <code>4</code></dd>
</dl>
</li>
</ul>
<a id="writeDouble(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeDouble</h4>
<pre class="methodSignature">void&nbsp;writeDouble&#8203;(double&nbsp;value)</pre>
<div class="block">Sets the specified double at the current <code>writerIndex</code>
and increases the <code>writerIndex</code> by <code>8</code> in this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - The specified double</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>this.writableBytes</code> is less than <code>8</code></dd>
</dl>
</li>
</ul>
<a id="writeBoolean(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeBoolean</h4>
<pre class="methodSignature">void&nbsp;writeBoolean&#8203;(boolean&nbsp;val)</pre>
<div class="block">Sets the specified boolean at the current <code>writerIndex</code></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>val</code> - The specified boolean</dd>
</dl>
</li>
</ul>
<a id="writeNullableBoolean(java.lang.Boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeNullableBoolean</h4>
<pre class="methodSignature">void&nbsp;writeNullableBoolean&#8203;(<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;val)</pre>
<div class="block">Sets the specified (potentially <code>null</code>) Boolean at the current <code>writerIndex</code></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>val</code> - The specified boolean</dd>
</dl>
</li>
</ul>
<a id="writeNullableSimpleString(org.apache.activemq.artemis.api.core.SimpleString)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeNullableSimpleString</h4>
<pre class="methodSignature">void&nbsp;writeNullableSimpleString&#8203;(<a href="SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a>&nbsp;val)</pre>
<div class="block">Sets the specified SimpleString (potentially <code>null</code>) at the current <code>writerIndex</code></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>val</code> - The specified SimpleString</dd>
</dl>
</li>
</ul>
<a id="writeNullableString(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeNullableString</h4>
<pre class="methodSignature">void&nbsp;writeNullableString&#8203;(<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;val)</pre>
<div class="block">Sets the specified String (potentially <code>null</code>) at the current <code>writerIndex</code></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>val</code> - The specified String</dd>
</dl>
</li>
</ul>
<a id="writeSimpleString(org.apache.activemq.artemis.api.core.SimpleString)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeSimpleString</h4>
<pre class="methodSignature">void&nbsp;writeSimpleString&#8203;(<a href="SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a>&nbsp;val)</pre>
<div class="block">Sets the specified non-null SimpleString at the current <code>writerIndex</code></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>val</code> - The specified non-null SimpleString</dd>
</dl>
</li>
</ul>
<a id="writeString(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeString</h4>
<pre class="methodSignature">void&nbsp;writeString&#8203;(<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;val)</pre>
<div class="block">Sets the specified non-null String at the current <code>writerIndex</code></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>val</code> - The specified non-null String</dd>
</dl>
</li>
</ul>
<a id="writeUTF(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeUTF</h4>
<pre class="methodSignature">void&nbsp;writeUTF&#8203;(<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;utf)</pre>
<div class="block">Sets the specified UTF-8 String at the current <code>writerIndex</code></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>utf</code> - The specified UTF-8 String</dd>
</dl>
</li>
</ul>
<a id="writeBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeBytes</h4>
<pre class="methodSignature">void&nbsp;writeBytes&#8203;(<a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;src,
int&nbsp;length)</pre>
<div class="block">Transfers the specified source buffer's data to this buffer starting at
the current <code>writerIndex</code> and increases the <code>writerIndex</code>
by the number of the transferred bytes (= <code>length</code>). This method
is basically same with <a href="#writeBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer,int,int)"><code>writeBytes(ActiveMQBuffer, int, int)</code></a>,
except that this method increases the <code>readerIndex</code> of the source
buffer by the number of the transferred bytes (= <code>length</code>) while
<a href="#writeBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer,int,int)"><code>writeBytes(ActiveMQBuffer, int, int)</code></a> does not.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>length</code> - the number of bytes to transfer</dd>
<dd><code>src</code> - The source buffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>length</code> is greater than <code>this.writableBytes</code> or
if <code>length</code> is greater then <code>src.readableBytes</code></dd>
</dl>
</li>
</ul>
<a id="writeBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer,int,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeBytes</h4>
<pre class="methodSignature">void&nbsp;writeBytes&#8203;(<a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;src,
int&nbsp;srcIndex,
int&nbsp;length)</pre>
<div class="block">Transfers the specified source buffer's data to this buffer starting at
the current <code>writerIndex</code> and increases the <code>writerIndex</code>
by the number of the transferred bytes (= <code>length</code>).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>srcIndex</code> - the first index of the source</dd>
<dd><code>length</code> - the number of bytes to transfer</dd>
<dd><code>src</code> - The source buffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>srcIndex</code> is less than <code>0</code>,
if <code>srcIndex + length</code> is greater than
<code>src.capacity</code>, or
if <code>length</code> is greater than <code>this.writableBytes</code></dd>
</dl>
</li>
</ul>
<a id="writeBytes(byte[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeBytes</h4>
<pre class="methodSignature">void&nbsp;writeBytes&#8203;(byte[]&nbsp;src)</pre>
<div class="block">Transfers the specified source array's data to this buffer starting at
the current <code>writerIndex</code> and increases the <code>writerIndex</code>
by the number of the transferred bytes (= <code>src.length</code>).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>src</code> - The source buffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>src.length</code> is greater than <code>this.writableBytes</code></dd>
</dl>
</li>
</ul>
<a id="writeBytes(byte[],int,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeBytes</h4>
<pre class="methodSignature">void&nbsp;writeBytes&#8203;(byte[]&nbsp;src,
int&nbsp;srcIndex,
int&nbsp;length)</pre>
<div class="block">Transfers the specified source array's data to this buffer starting at
the current <code>writerIndex</code> and increases the <code>writerIndex</code>
by the number of the transferred bytes (= <code>length</code>).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>srcIndex</code> - the first index of the source</dd>
<dd><code>length</code> - the number of bytes to transfer</dd>
<dd><code>src</code> - The source buffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the specified <code>srcIndex</code> is less than <code>0</code>,
if <code>srcIndex + length</code> is greater than
<code>src.length</code>, or
if <code>length</code> is greater than <code>this.writableBytes</code></dd>
</dl>
</li>
</ul>
<a id="writeBytes(java.nio.ByteBuffer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeBytes</h4>
<pre class="methodSignature">void&nbsp;writeBytes&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio" class="externalLink">ByteBuffer</a>&nbsp;src)</pre>
<div class="block">Transfers the specified source buffer's data to this buffer starting at
the current <code>writerIndex</code> until the source buffer's position
reaches its limit, and increases the <code>writerIndex</code> by the
number of the transferred bytes.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>src</code> - The source buffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>src.remaining()</code> is greater than
<code>this.writableBytes</code></dd>
</dl>
</li>
</ul>
<a id="writeBytes(io.netty.buffer.ByteBuf,int,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeBytes</h4>
<pre class="methodSignature">void&nbsp;writeBytes&#8203;(io.netty.buffer.ByteBuf&nbsp;src,
int&nbsp;srcIndex,
int&nbsp;length)</pre>
<div class="block">Transfers the specified source buffer's data to this buffer starting at
the current <code>writerIndex</code> until the source buffer's position
reaches its limit, and increases the <code>writerIndex</code> by the
number of the transferred bytes.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>src</code> - The source buffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if <code>src.remaining()</code> is greater than
<code>this.writableBytes</code></dd>
</dl>
</li>
</ul>
<a id="copy()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copy</h4>
<pre class="methodSignature"><a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;copy()</pre>
<div class="block">Returns a copy of this buffer's readable bytes. Modifying the content
of the returned buffer or this buffer does not affect each other at all.
This method is identical to <code>buf.copy(buf.readerIndex(), buf.readableBytes())</code>.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code> of
this buffer.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a copy of this buffer's readable bytes.</dd>
</dl>
</li>
</ul>
<a id="copy(int,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copy</h4>
<pre class="methodSignature"><a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;copy&#8203;(int&nbsp;index,
int&nbsp;length)</pre>
<div class="block">Returns a copy of this buffer's sub-region. Modifying the content of
the returned buffer or this buffer does not affect each other at all.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code> of
this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index into the buffer</dd>
<dd><code>length</code> - The number of bytes to copy</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a copy of this buffer's readable bytes.</dd>
</dl>
</li>
</ul>
<a id="slice()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>slice</h4>
<pre class="methodSignature"><a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;slice()</pre>
<div class="block">Returns a slice of this buffer's readable bytes. Modifying the content
of the returned buffer or this buffer affects each other's content
while they maintain separate indexes and marks. This method is
identical to <code>buf.slice(buf.readerIndex(), buf.readableBytes())</code>.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code> of
this buffer.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a slice of this buffer's readable bytes</dd>
</dl>
</li>
</ul>
<a id="slice(int,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>slice</h4>
<pre class="methodSignature"><a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;slice&#8203;(int&nbsp;index,
int&nbsp;length)</pre>
<div class="block">Returns a slice of this buffer's sub-region. Modifying the content of
the returned buffer or this buffer affects each other's content while
they maintain separate indexes and marks.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code> of
this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index into the buffer</dd>
<dd><code>length</code> - The number of bytes</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a slice of this buffer's sub-region.</dd>
</dl>
</li>
</ul>
<a id="duplicate()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>duplicate</h4>
<pre class="methodSignature"><a href="ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;duplicate()</pre>
<div class="block">Returns a buffer which shares the whole region of this buffer.
Modifying the content of the returned buffer or this buffer affects
each other's content while they maintain separate indexes and marks.
This method is identical to <code>buf.slice(0, buf.capacity())</code>.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code> of
this buffer.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a buffer which shares the whole region of this buffer.</dd>
</dl>
</li>
</ul>
<a id="toByteBuffer()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toByteBuffer</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio" class="externalLink">ByteBuffer</a>&nbsp;toByteBuffer()</pre>
<div class="block">Converts this buffer's readable bytes into a NIO buffer. The returned
buffer might or might not share the content with this buffer, while
they have separate indexes and marks. This method is identical to
<code>buf.toByteBuffer(buf.readerIndex(), buf.readableBytes())</code>.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code> of
this buffer.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A converted NIO ByteBuffer</dd>
</dl>
</li>
</ul>
<a id="toByteBuffer(int,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toByteBuffer</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio" class="externalLink">ByteBuffer</a>&nbsp;toByteBuffer&#8203;(int&nbsp;index,
int&nbsp;length)</pre>
<div class="block">Converts this buffer's sub-region into a NIO buffer. The returned
buffer might or might not share the content with this buffer, while
they have separate indexes and marks.
This method does not modify <code>readerIndex</code> or <code>writerIndex</code> of
this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index into the buffer</dd>
<dd><code>length</code> - The number of bytes</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A converted NIO Buffer</dd>
</dl>
</li>
</ul>
<a id="release()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>release</h4>
<pre class="methodSignature">void&nbsp;release()</pre>
<div class="block">Release any underlying resources held by this buffer</div>
</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/ActiveMQBuffer.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>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2024 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>