blob: aa34d7939fe56ef59f19deb33e4ce6cf71a67ae7 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_191) on Fri Apr 12 11:24:36 CEST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>IoBuffer (Apache MINA 2.0.21 API Documentation)</title>
<meta name="date" content="2019-04-12">
<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="IoBuffer (Apache MINA 2.0.21 API Documentation)";
}
}
catch(err) {
}
//-->
var methods = {"i0":9,"i1":9,"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":9,"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":9,"i87":6,"i88":6,"i89":6,"i90":6,"i91":6,"i92":6,"i93":9,"i94":6,"i95":6,"i96":6,"i97":6,"i98":6,"i99":6,"i100":6,"i101":6,"i102":6,"i103":6,"i104":6,"i105":6,"i106":6,"i107":6,"i108":6,"i109":6,"i110":6,"i111":6,"i112":6,"i113":6,"i114":6,"i115":6,"i116":6,"i117":6,"i118":6,"i119":6,"i120":6,"i121":6,"i122":6,"i123":6,"i124":6,"i125":6,"i126":6,"i127":6,"i128":6,"i129":6,"i130":6,"i131":6,"i132":6,"i133":6,"i134":6,"i135":6,"i136":6,"i137":6,"i138":6,"i139":6,"i140":6,"i141":6,"i142":6,"i143":6,"i144":6,"i145":6,"i146":6,"i147":6,"i148":6,"i149":6,"i150":6,"i151":6,"i152":6,"i153":6,"i154":6,"i155":6,"i156":6,"i157":6,"i158":6,"i159":6,"i160":6,"i161":6,"i162":6,"i163":6,"i164":6,"i165":6,"i166":6,"i167":6,"i168":9,"i169":6,"i170":6,"i171":9,"i172":6,"i173":6,"i174":6,"i175":6,"i176":6,"i177":9,"i178":9,"i179":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/IoBuffer.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/mina/core/buffer/CachedBufferAllocator.html" title="class in org.apache.mina.core.buffer"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/mina/core/buffer/IoBufferAllocator.html" title="interface in org.apache.mina.core.buffer"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/mina/core/buffer/IoBuffer.html" target="_top">Frames</a></li>
<li><a href="IoBuffer.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.mina.core.buffer</div>
<h2 title="Class IoBuffer" class="title">Class IoBuffer</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.mina.core.buffer.IoBuffer</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&gt;</dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../org/apache/mina/core/buffer/AbstractIoBuffer.html" title="class in org.apache.mina.core.buffer">AbstractIoBuffer</a>, <a href="../../../../../org/apache/mina/core/buffer/IoBufferWrapper.html" title="class in org.apache.mina.core.buffer">IoBufferWrapper</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">IoBuffer</span>
extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&gt;</pre>
<div class="block">A byte buffer used by MINA applications.
<p>
This is a replacement for <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio"><code>ByteBuffer</code></a>. Please refer to
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio"><code>ByteBuffer</code></a> documentation for preliminary usage. MINA does not use NIO
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio"><code>ByteBuffer</code></a> directly for two reasons:
<ul>
<li>It doesn't provide useful getters and putters such as <code>fill</code>,
<code>get/putString</code>, and <code>get/putAsciiInt()</code> enough.</li>
<li>It is difficult to write variable-length data due to its fixed capacity</li>
</ul>
<h2>Allocation</h2>
<p>
You can allocate a new heap buffer.
<pre>
IoBuffer buf = IoBuffer.allocate(1024, false);
</pre>
You can also allocate a new direct buffer:
<pre>
IoBuffer buf = IoBuffer.allocate(1024, true);
</pre>
or you can set the default buffer type.
<pre>
// Allocate heap buffer by default.
IoBuffer.setUseDirectBuffer(false);
// A new heap buffer is returned.
IoBuffer buf = IoBuffer.allocate(1024);
</pre>
<h2>Wrapping existing NIO buffers and arrays</h2>
<p>
This class provides a few <tt>wrap(...)</tt> methods that wraps any NIO
buffers and byte arrays.
<h2>AutoExpand</h2>
<p>
Writing variable-length data using NIO <tt>ByteBuffers</tt> is not really
easy, and it is because its size is fixed at allocation. <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer"><code>IoBuffer</code></a> introduces
the <tt>autoExpand</tt> property. If <tt>autoExpand</tt> property is set to true,
you never get a <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/BufferOverflowException.html?is-external=true" title="class or interface in java.nio"><code>BufferOverflowException</code></a> or
an <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang"><code>IndexOutOfBoundsException</code></a> (except when index is negative). It
automatically expands its capacity. For instance:
<pre>
String greeting = messageBundle.getMessage(&quot;hello&quot;);
IoBuffer buf = IoBuffer.allocate(16);
// Turn on autoExpand (it is off by default)
buf.setAutoExpand(true);
buf.putString(greeting, utf8encoder);
</pre>
The underlying <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio"><code>ByteBuffer</code></a> is reallocated by <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer"><code>IoBuffer</code></a> behind
the scene if the encoded data is larger than 16 bytes in the example above.
Its capacity will double, and its limit will increase to the last position
the string is written.
<h2>AutoShrink</h2>
<p>
You might also want to decrease the capacity of the buffer when most of the
allocated memory area is not being used. <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer"><code>IoBuffer</code></a> provides
<tt>autoShrink</tt> property to take care of this issue. If
<tt>autoShrink</tt> is turned on, <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer"><code>IoBuffer</code></a> halves the capacity of the
buffer when <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#compact--"><code>compact()</code></a> is invoked and only 1/4 or less of the current
capacity is being used.
<p>
You can also call the <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#shrink--"><code>shrink()</code></a> method manually to shrink the capacity of the
buffer.
<p>
The underlying <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio"><code>ByteBuffer</code></a> is reallocated by the <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer"><code>IoBuffer</code></a> behind
the scene, and therefore <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#buf--"><code>buf()</code></a> will return a different
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio"><code>ByteBuffer</code></a> instance once capacity changes. Please also note
that the <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#compact--"><code>compact()</code></a> method or the <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#shrink--"><code>shrink()</code></a> method
will not decrease the capacity if the new capacity is less than the
<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#minimumCapacity--"><code>minimumCapacity()</code></a> of the buffer.
<h2>Derived Buffers</h2>
<p>
Derived buffers are the buffers which were created by the <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#duplicate--"><code>duplicate()</code></a>,
<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#slice--"><code>slice()</code></a>, or <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#asReadOnlyBuffer--"><code>asReadOnlyBuffer()</code></a> methods. They are useful especially
when you broadcast the same messages to multiple <a href="../../../../../org/apache/mina/core/session/IoSession.html" title="interface in org.apache.mina.core.session"><code>IoSession</code></a>s. Please
note that the buffer derived from and its derived buffers are not
auto-expandable nor auto-shrinkable. Trying to call
<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#setAutoExpand-boolean-"><code>setAutoExpand(boolean)</code></a> or <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#setAutoShrink-boolean-"><code>setAutoShrink(boolean)</code></a> with
<tt>true</tt> parameter will raise an <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang"><code>IllegalStateException</code></a>.
<h2>Changing Buffer Allocation Policy</h2>
<p>
The <a href="../../../../../org/apache/mina/core/buffer/IoBufferAllocator.html" title="interface in org.apache.mina.core.buffer"><code>IoBufferAllocator</code></a> interface lets you override the default buffer
management behavior. There are two allocators provided out-of-the-box:
<ul>
<li><a href="../../../../../org/apache/mina/core/buffer/SimpleBufferAllocator.html" title="class in org.apache.mina.core.buffer"><code>SimpleBufferAllocator</code></a> (default)</li>
<li><a href="../../../../../org/apache/mina/core/buffer/CachedBufferAllocator.html" title="class in org.apache.mina.core.buffer"><code>CachedBufferAllocator</code></a></li>
</ul>
You can implement your own allocator and use it by calling
<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#setAllocator-org.apache.mina.core.buffer.IoBufferAllocator-"><code>setAllocator(IoBufferAllocator)</code></a>.</div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd><a href="http://mina.apache.org">Apache MINA Project</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#IoBuffer--">IoBuffer</a></span>()</code>
<div class="block">Creates a new instance.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></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><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#allocate-int-">allocate</a></span>(int&nbsp;capacity)</code>
<div class="block">Returns the direct or heap buffer which is capable to store the specified
amount of bytes.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#allocate-int-boolean-">allocate</a></span>(int&nbsp;capacity,
boolean&nbsp;useDirectBuffer)</code>
<div class="block">Returns a direct or heap IoBuffer which can contain the specified number of bytes.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>abstract byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#array--">array</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#arrayOffset--">arrayOffset</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/CharBuffer.html?is-external=true" title="class or interface in java.nio">CharBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#asCharBuffer--">asCharBuffer</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/DoubleBuffer.html?is-external=true" title="class or interface in java.nio">DoubleBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#asDoubleBuffer--">asDoubleBuffer</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/FloatBuffer.html?is-external=true" title="class or interface in java.nio">FloatBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#asFloatBuffer--">asFloatBuffer</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#asInputStream--">asInputStream</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/IntBuffer.html?is-external=true" title="class or interface in java.nio">IntBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#asIntBuffer--">asIntBuffer</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/LongBuffer.html?is-external=true" title="class or interface in java.nio">LongBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#asLongBuffer--">asLongBuffer</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#asOutputStream--">asOutputStream</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#asReadOnlyBuffer--">asReadOnlyBuffer</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ShortBuffer.html?is-external=true" title="class or interface in java.nio">ShortBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#asShortBuffer--">asShortBuffer</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#buf--">buf</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#capacity--">capacity</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#capacity-int-">capacity</a></span>(int&nbsp;newCapacity)</code>
<div class="block">Increases the capacity of this buffer.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#clear--">clear</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#compact--">compact</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#duplicate--">duplicate</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#expand-int-">expand</a></span>(int&nbsp;expectedRemaining)</code>
<div class="block">Changes the capacity and limit of this buffer so this buffer get the
specified <tt>expectedRemaining</tt> room from the current position.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#expand-int-int-">expand</a></span>(int&nbsp;position,
int&nbsp;expectedRemaining)</code>
<div class="block">Changes the capacity and limit of this buffer so this buffer get the
specified <tt>expectedRemaining</tt> room from the specified
<tt>position</tt>.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#fill-byte-int-">fill</a></span>(byte&nbsp;value,
int&nbsp;size)</code>
<div class="block">Fills this buffer with the specified value.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#fill-int-">fill</a></span>(int&nbsp;size)</code>
<div class="block">Fills this buffer with <code>NUL (0x00)</code>.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#fillAndReset-byte-int-">fillAndReset</a></span>(byte&nbsp;value,
int&nbsp;size)</code>
<div class="block">Fills this buffer with the specified value.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#fillAndReset-int-">fillAndReset</a></span>(int&nbsp;size)</code>
<div class="block">Fills this buffer with <code>NUL (0x00)</code>.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#flip--">flip</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#free--">free</a></span>()</code>
<div class="block">Declares this buffer and all its derived buffers are not used anymore so
that it can be reused by some <a href="../../../../../org/apache/mina/core/buffer/IoBufferAllocator.html" title="interface in org.apache.mina.core.buffer"><code>IoBufferAllocator</code></a> implementations.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>abstract byte</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#get--">get</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#get-byte:A-">get</a></span>(byte[]&nbsp;dst)</code>&nbsp;</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#get-byte:A-int-int-">get</a></span>(byte[]&nbsp;dst,
int&nbsp;offset,
int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>abstract byte</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#get-int-">get</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/mina/core/buffer/IoBufferAllocator.html" title="interface in org.apache.mina.core.buffer">IoBufferAllocator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getAllocator--">getAllocator</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>abstract char</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getChar--">getChar</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>abstract char</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getChar-int-">getChar</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>abstract double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getDouble--">getDouble</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>abstract double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getDouble-int-">getDouble</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>abstract &lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;<br>E</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getEnum-java.lang.Class-">getEnum</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</code>
<div class="block">Reads a byte from the buffer and returns the correlating enum constant
defined by the specified enum type.</div>
</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>abstract &lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;<br>E</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getEnum-int-java.lang.Class-">getEnum</a></span>(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</code>
<div class="block">Reads a byte from the buffer and returns the correlating enum constant
defined by the specified enum type.</div>
</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>abstract &lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;<br>E</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getEnumInt-java.lang.Class-">getEnumInt</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</code>
<div class="block">Reads an int from the buffer and returns the correlating enum constant
defined by the specified enum type.</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>abstract &lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;<br>E</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getEnumInt-int-java.lang.Class-">getEnumInt</a></span>(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</code>
<div class="block">Reads an int from the buffer and returns the correlating enum constant
defined by the specified enum type.</div>
</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code>abstract &lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;<br><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getEnumSet-java.lang.Class-">getEnumSet</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</code>
<div class="block">Reads a byte sized bit vector and converts it to an <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util"><code>EnumSet</code></a>.</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code>abstract &lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;<br><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getEnumSet-int-java.lang.Class-">getEnumSet</a></span>(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</code>
<div class="block">Reads a byte sized bit vector and converts it to an <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util"><code>EnumSet</code></a>.</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code>abstract &lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;<br><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getEnumSetInt-java.lang.Class-">getEnumSetInt</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</code>
<div class="block">Reads an int sized bit vector and converts it to an <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util"><code>EnumSet</code></a>.</div>
</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code>abstract &lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;<br><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getEnumSetInt-int-java.lang.Class-">getEnumSetInt</a></span>(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</code>
<div class="block">Reads an int sized bit vector and converts it to an <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util"><code>EnumSet</code></a>.</div>
</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code>abstract &lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;<br><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getEnumSetLong-java.lang.Class-">getEnumSetLong</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</code>
<div class="block">Reads a long sized bit vector and converts it to an <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util"><code>EnumSet</code></a>.</div>
</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code>abstract &lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;<br><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getEnumSetLong-int-java.lang.Class-">getEnumSetLong</a></span>(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</code>
<div class="block">Reads a long sized bit vector and converts it to an <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util"><code>EnumSet</code></a>.</div>
</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code>abstract &lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;<br><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getEnumSetShort-java.lang.Class-">getEnumSetShort</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</code>
<div class="block">Reads a short sized bit vector and converts it to an <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util"><code>EnumSet</code></a>.</div>
</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code>abstract &lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;<br><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getEnumSetShort-int-java.lang.Class-">getEnumSetShort</a></span>(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</code>
<div class="block">Reads a short sized bit vector and converts it to an <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util"><code>EnumSet</code></a>.</div>
</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code>abstract &lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;<br>E</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getEnumShort-java.lang.Class-">getEnumShort</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</code>
<div class="block">Reads a short from the buffer and returns the correlating enum constant
defined by the specified enum type.</div>
</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code>abstract &lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;<br>E</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getEnumShort-int-java.lang.Class-">getEnumShort</a></span>(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</code>
<div class="block">Reads a short from the buffer and returns the correlating enum constant
defined by the specified enum type.</div>
</td>
</tr>
<tr id="i50" class="altColor">
<td class="colFirst"><code>abstract float</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getFloat--">getFloat</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code>abstract float</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getFloat-int-">getFloat</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i52" class="altColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getHexDump--">getHexDump</a></span>()</code>
<div class="block">Returns hexdump of this buffer.</div>
</td>
</tr>
<tr id="i53" class="rowColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getHexDump-int-">getHexDump</a></span>(int&nbsp;lengthLimit)</code>
<div class="block">Return hexdump of this buffer with limited length.</div>
</td>
</tr>
<tr id="i54" class="altColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getInt--">getInt</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i55" class="rowColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getInt-int-">getInt</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i56" class="altColor">
<td class="colFirst"><code>abstract long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getLong--">getLong</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i57" class="rowColor">
<td class="colFirst"><code>abstract long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getLong-int-">getLong</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i58" class="altColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getMediumInt--">getMediumInt</a></span>()</code>
<div class="block">Relative <i>get</i> method for reading a medium int value.</div>
</td>
</tr>
<tr id="i59" class="rowColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getMediumInt-int-">getMediumInt</a></span>(int&nbsp;index)</code>
<div class="block">Absolute <i>get</i> method for reading a medium int value.</div>
</td>
</tr>
<tr id="i60" class="altColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getObject--">getObject</a></span>()</code>
<div class="block">Reads a Java object from the buffer using the context <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang"><code>ClassLoader</code></a>
of the current thread.</div>
</td>
</tr>
<tr id="i61" class="rowColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getObject-java.lang.ClassLoader-">getObject</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;classLoader)</code>
<div class="block">Reads a Java object from the buffer using the specified
<tt>classLoader</tt>.</div>
</td>
</tr>
<tr id="i62" class="altColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getPrefixedString-java.nio.charset.CharsetDecoder-">getPrefixedString</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharsetDecoder.html?is-external=true" title="class or interface in java.nio.charset">CharsetDecoder</a>&nbsp;decoder)</code>
<div class="block">Reads a string which has a 16-bit length field before the actual encoded
string, using the specified <code>decoder</code> and returns it.</div>
</td>
</tr>
<tr id="i63" class="rowColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getPrefixedString-int-java.nio.charset.CharsetDecoder-">getPrefixedString</a></span>(int&nbsp;prefixLength,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharsetDecoder.html?is-external=true" title="class or interface in java.nio.charset">CharsetDecoder</a>&nbsp;decoder)</code>
<div class="block">Reads a string which has a length field before the actual encoded string,
using the specified <code>decoder</code> and returns it.</div>
</td>
</tr>
<tr id="i64" class="altColor">
<td class="colFirst"><code>abstract short</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getShort--">getShort</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i65" class="rowColor">
<td class="colFirst"><code>abstract short</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getShort-int-">getShort</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i66" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getSlice-int-">getSlice</a></span>(int&nbsp;length)</code>
<div class="block">Get a new IoBuffer containing a slice of the current buffer</div>
</td>
</tr>
<tr id="i67" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getSlice-int-int-">getSlice</a></span>(int&nbsp;index,
int&nbsp;length)</code>
<div class="block">Get a new IoBuffer containing a slice of the current buffer</div>
</td>
</tr>
<tr id="i68" class="altColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getString-java.nio.charset.CharsetDecoder-">getString</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharsetDecoder.html?is-external=true" title="class or interface in java.nio.charset">CharsetDecoder</a>&nbsp;decoder)</code>
<div class="block">Reads a <code>NUL</code>-terminated string from this buffer using the
specified <code>decoder</code> and returns it.</div>
</td>
</tr>
<tr id="i69" class="rowColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getString-int-java.nio.charset.CharsetDecoder-">getString</a></span>(int&nbsp;fieldSize,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharsetDecoder.html?is-external=true" title="class or interface in java.nio.charset">CharsetDecoder</a>&nbsp;decoder)</code>
<div class="block">Reads a <code>NUL</code>-terminated string from this buffer using the
specified <code>decoder</code> and returns it.</div>
</td>
</tr>
<tr id="i70" class="altColor">
<td class="colFirst"><code>abstract short</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getUnsigned--">getUnsigned</a></span>()</code>
<div class="block">Reads one unsigned byte as a short integer.</div>
</td>
</tr>
<tr id="i71" class="rowColor">
<td class="colFirst"><code>abstract short</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getUnsigned-int-">getUnsigned</a></span>(int&nbsp;index)</code>
<div class="block">Reads one byte as an unsigned short integer.</div>
</td>
</tr>
<tr id="i72" class="altColor">
<td class="colFirst"><code>abstract long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getUnsignedInt--">getUnsignedInt</a></span>()</code>
<div class="block">Reads four bytes unsigned integer.</div>
</td>
</tr>
<tr id="i73" class="rowColor">
<td class="colFirst"><code>abstract long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getUnsignedInt-int-">getUnsignedInt</a></span>(int&nbsp;index)</code>
<div class="block">Reads four bytes unsigned integer.</div>
</td>
</tr>
<tr id="i74" class="altColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getUnsignedMediumInt--">getUnsignedMediumInt</a></span>()</code>
<div class="block">Relative <i>get</i> method for reading an unsigned medium int value.</div>
</td>
</tr>
<tr id="i75" class="rowColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getUnsignedMediumInt-int-">getUnsignedMediumInt</a></span>(int&nbsp;index)</code>
<div class="block">Absolute <i>get</i> method for reading an unsigned medium int value.</div>
</td>
</tr>
<tr id="i76" class="altColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getUnsignedShort--">getUnsignedShort</a></span>()</code>
<div class="block">Reads two bytes unsigned integer.</div>
</td>
</tr>
<tr id="i77" class="rowColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getUnsignedShort-int-">getUnsignedShort</a></span>(int&nbsp;index)</code>
<div class="block">Reads two bytes unsigned integer.</div>
</td>
</tr>
<tr id="i78" class="altColor">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#hasArray--">hasArray</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i79" class="rowColor">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#hasRemaining--">hasRemaining</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i80" class="altColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#indexOf-byte-">indexOf</a></span>(byte&nbsp;b)</code>
<div class="block">Returns the first occurrence position of the specified byte from the
current position to the current limit.</div>
</td>
</tr>
<tr id="i81" class="rowColor">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#isAutoExpand--">isAutoExpand</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i82" class="altColor">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#isAutoShrink--">isAutoShrink</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i83" class="rowColor">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#isDerived--">isDerived</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i84" class="altColor">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#isDirect--">isDirect</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i85" class="rowColor">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#isReadOnly--">isReadOnly</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i86" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#isUseDirectBuffer--">isUseDirectBuffer</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i87" class="rowColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#limit--">limit</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i88" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#limit-int-">limit</a></span>(int&nbsp;newLimit)</code>&nbsp;</td>
</tr>
<tr id="i89" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#mark--">mark</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i90" class="altColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#markValue--">markValue</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i91" class="rowColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#minimumCapacity--">minimumCapacity</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i92" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#minimumCapacity-int-">minimumCapacity</a></span>(int&nbsp;minimumCapacity)</code>
<div class="block">Sets the minimum capacity of this buffer which is used to determine the
new capacity of the buffer shrunk by <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#compact--"><code>compact()</code></a> and
<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#shrink--"><code>shrink()</code></a> operation.</div>
</td>
</tr>
<tr id="i93" class="rowColor">
<td class="colFirst"><code>protected static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#normalizeCapacity-int-">normalizeCapacity</a></span>(int&nbsp;requestedCapacity)</code>
<div class="block">Normalizes the specified capacity of the buffer to power of 2, which is
often helpful for optimal memory usage and performance.</div>
</td>
</tr>
<tr id="i94" class="altColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteOrder.html?is-external=true" title="class or interface in java.nio">ByteOrder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#order--">order</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i95" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#order-java.nio.ByteOrder-">order</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteOrder.html?is-external=true" title="class or interface in java.nio">ByteOrder</a>&nbsp;bo)</code>&nbsp;</td>
</tr>
<tr id="i96" class="altColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#position--">position</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i97" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#position-int-">position</a></span>(int&nbsp;newPosition)</code>&nbsp;</td>
</tr>
<tr id="i98" class="altColor">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#prefixedDataAvailable-int-">prefixedDataAvailable</a></span>(int&nbsp;prefixLength)</code>&nbsp;</td>
</tr>
<tr id="i99" class="rowColor">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#prefixedDataAvailable-int-int-">prefixedDataAvailable</a></span>(int&nbsp;prefixLength,
int&nbsp;maxDataLength)</code>&nbsp;</td>
</tr>
<tr id="i100" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#put-byte-">put</a></span>(byte&nbsp;b)</code>&nbsp;</td>
</tr>
<tr id="i101" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#put-byte:A-">put</a></span>(byte[]&nbsp;src)</code>&nbsp;</td>
</tr>
<tr id="i102" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#put-byte:A-int-int-">put</a></span>(byte[]&nbsp;src,
int&nbsp;offset,
int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i103" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#put-java.nio.ByteBuffer-">put</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a>&nbsp;src)</code>
<div class="block">Writes the content of the specified <tt>src</tt> into this buffer.</div>
</td>
</tr>
<tr id="i104" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#put-int-byte-">put</a></span>(int&nbsp;index,
byte&nbsp;b)</code>&nbsp;</td>
</tr>
<tr id="i105" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#put-org.apache.mina.core.buffer.IoBuffer-">put</a></span>(<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;src)</code>
<div class="block">Writes the content of the specified <tt>src</tt> into this buffer.</div>
</td>
</tr>
<tr id="i106" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putChar-char-">putChar</a></span>(char&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i107" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putChar-int-char-">putChar</a></span>(int&nbsp;index,
char&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i108" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putDouble-double-">putDouble</a></span>(double&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i109" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putDouble-int-double-">putDouble</a></span>(int&nbsp;index,
double&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i110" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putEnum-java.lang.Enum-">putEnum</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;?&gt;&nbsp;e)</code>
<div class="block">Writes an enum's ordinal value to the buffer as a byte.</div>
</td>
</tr>
<tr id="i111" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putEnum-int-java.lang.Enum-">putEnum</a></span>(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;?&gt;&nbsp;e)</code>
<div class="block">Writes an enum's ordinal value to the buffer as a byte.</div>
</td>
</tr>
<tr id="i112" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putEnumInt-java.lang.Enum-">putEnumInt</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;?&gt;&nbsp;e)</code>
<div class="block">Writes an enum's ordinal value to the buffer as an integer.</div>
</td>
</tr>
<tr id="i113" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putEnumInt-int-java.lang.Enum-">putEnumInt</a></span>(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;?&gt;&nbsp;e)</code>
<div class="block">Writes an enum's ordinal value to the buffer as an integer.</div>
</td>
</tr>
<tr id="i114" class="altColor">
<td class="colFirst"><code>abstract &lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;<br><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putEnumSet-int-java.util.Set-">putEnumSet</a></span>(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;&nbsp;set)</code>
<div class="block">Writes the specified <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util"><code>Set</code></a> to the buffer as a byte sized bit
vector.</div>
</td>
</tr>
<tr id="i115" class="rowColor">
<td class="colFirst"><code>abstract &lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;<br><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putEnumSet-java.util.Set-">putEnumSet</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;&nbsp;set)</code>
<div class="block">Writes the specified <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util"><code>Set</code></a> to the buffer as a byte sized bit
vector.</div>
</td>
</tr>
<tr id="i116" class="altColor">
<td class="colFirst"><code>abstract &lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;<br><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putEnumSetInt-int-java.util.Set-">putEnumSetInt</a></span>(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;&nbsp;set)</code>
<div class="block">Writes the specified <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util"><code>Set</code></a> to the buffer as an int sized bit
vector.</div>
</td>
</tr>
<tr id="i117" class="rowColor">
<td class="colFirst"><code>abstract &lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;<br><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putEnumSetInt-java.util.Set-">putEnumSetInt</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;&nbsp;set)</code>
<div class="block">Writes the specified <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util"><code>Set</code></a> to the buffer as an int sized bit
vector.</div>
</td>
</tr>
<tr id="i118" class="altColor">
<td class="colFirst"><code>abstract &lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;<br><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putEnumSetLong-int-java.util.Set-">putEnumSetLong</a></span>(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;&nbsp;set)</code>
<div class="block">Writes the specified <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util"><code>Set</code></a> to the buffer as a long sized bit
vector.</div>
</td>
</tr>
<tr id="i119" class="rowColor">
<td class="colFirst"><code>abstract &lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;<br><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putEnumSetLong-java.util.Set-">putEnumSetLong</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;&nbsp;set)</code>
<div class="block">Writes the specified <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util"><code>Set</code></a> to the buffer as a long sized bit
vector.</div>
</td>
</tr>
<tr id="i120" class="altColor">
<td class="colFirst"><code>abstract &lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;<br><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putEnumSetShort-int-java.util.Set-">putEnumSetShort</a></span>(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;&nbsp;set)</code>
<div class="block">Writes the specified <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util"><code>Set</code></a> to the buffer as a short sized bit
vector.</div>
</td>
</tr>
<tr id="i121" class="rowColor">
<td class="colFirst"><code>abstract &lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;<br><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putEnumSetShort-java.util.Set-">putEnumSetShort</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;&nbsp;set)</code>
<div class="block">Writes the specified <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util"><code>Set</code></a> to the buffer as a short sized bit
vector.</div>
</td>
</tr>
<tr id="i122" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putEnumShort-java.lang.Enum-">putEnumShort</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;?&gt;&nbsp;e)</code>
<div class="block">Writes an enum's ordinal value to the buffer as a short.</div>
</td>
</tr>
<tr id="i123" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putEnumShort-int-java.lang.Enum-">putEnumShort</a></span>(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;?&gt;&nbsp;e)</code>
<div class="block">Writes an enum's ordinal value to the buffer as a short.</div>
</td>
</tr>
<tr id="i124" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putFloat-float-">putFloat</a></span>(float&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i125" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putFloat-int-float-">putFloat</a></span>(int&nbsp;index,
float&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i126" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putInt-int-">putInt</a></span>(int&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i127" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putInt-int-int-">putInt</a></span>(int&nbsp;index,
int&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i128" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putLong-int-long-">putLong</a></span>(int&nbsp;index,
long&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i129" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putLong-long-">putLong</a></span>(long&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i130" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putMediumInt-int-">putMediumInt</a></span>(int&nbsp;value)</code>
<div class="block">Relative <i>put</i> method for writing a medium int value.</div>
</td>
</tr>
<tr id="i131" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putMediumInt-int-int-">putMediumInt</a></span>(int&nbsp;index,
int&nbsp;value)</code>
<div class="block">Absolute <i>put</i> method for writing a medium int value.</div>
</td>
</tr>
<tr id="i132" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putObject-java.lang.Object-">putObject</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</code>
<div class="block">Writes the specified Java object to the buffer.</div>
</td>
</tr>
<tr id="i133" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putPrefixedString-java.lang.CharSequence-java.nio.charset.CharsetEncoder-">putPrefixedString</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;in,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharsetEncoder.html?is-external=true" title="class or interface in java.nio.charset">CharsetEncoder</a>&nbsp;encoder)</code>
<div class="block">Writes the content of <code>in</code> into this buffer as a string which
has a 16-bit length field before the actual encoded string, using the
specified <code>encoder</code>.</div>
</td>
</tr>
<tr id="i134" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putPrefixedString-java.lang.CharSequence-int-java.nio.charset.CharsetEncoder-">putPrefixedString</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;in,
int&nbsp;prefixLength,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharsetEncoder.html?is-external=true" title="class or interface in java.nio.charset">CharsetEncoder</a>&nbsp;encoder)</code>
<div class="block">Writes the content of <code>in</code> into this buffer as a string which
has a 16-bit length field before the actual encoded string, using the
specified <code>encoder</code>.</div>
</td>
</tr>
<tr id="i135" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putPrefixedString-java.lang.CharSequence-int-int-byte-java.nio.charset.CharsetEncoder-">putPrefixedString</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;val,
int&nbsp;prefixLength,
int&nbsp;padding,
byte&nbsp;padValue,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharsetEncoder.html?is-external=true" title="class or interface in java.nio.charset">CharsetEncoder</a>&nbsp;encoder)</code>
<div class="block">Writes the content of <code>val</code> into this buffer as a string which
has a 16-bit length field before the actual encoded string, using the
specified <code>encoder</code>.</div>
</td>
</tr>
<tr id="i136" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putPrefixedString-java.lang.CharSequence-int-int-java.nio.charset.CharsetEncoder-">putPrefixedString</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;in,
int&nbsp;prefixLength,
int&nbsp;padding,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharsetEncoder.html?is-external=true" title="class or interface in java.nio.charset">CharsetEncoder</a>&nbsp;encoder)</code>
<div class="block">Writes the content of <code>in</code> into this buffer as a string which
has a 16-bit length field before the actual encoded string, using the
specified <code>encoder</code>.</div>
</td>
</tr>
<tr id="i137" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putShort-int-short-">putShort</a></span>(int&nbsp;index,
short&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i138" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putShort-short-">putShort</a></span>(short&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i139" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putString-java.lang.CharSequence-java.nio.charset.CharsetEncoder-">putString</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;val,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharsetEncoder.html?is-external=true" title="class or interface in java.nio.charset">CharsetEncoder</a>&nbsp;encoder)</code>
<div class="block">Writes the content of <code>in</code> into this buffer using the
specified <code>encoder</code>.</div>
</td>
</tr>
<tr id="i140" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putString-java.lang.CharSequence-int-java.nio.charset.CharsetEncoder-">putString</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;val,
int&nbsp;fieldSize,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharsetEncoder.html?is-external=true" title="class or interface in java.nio.charset">CharsetEncoder</a>&nbsp;encoder)</code>
<div class="block">Writes the content of <code>in</code> into this buffer as a
<code>NUL</code>-terminated string using the specified
<code>encoder</code>.</div>
</td>
</tr>
<tr id="i141" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putUnsigned-byte-">putUnsigned</a></span>(byte&nbsp;value)</code>
<div class="block">Writes an unsigned byte into the ByteBuffer</div>
</td>
</tr>
<tr id="i142" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putUnsigned-int-">putUnsigned</a></span>(int&nbsp;value)</code>
<div class="block">Writes an unsigned byte into the ByteBuffer</div>
</td>
</tr>
<tr id="i143" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putUnsigned-int-byte-">putUnsigned</a></span>(int&nbsp;index,
byte&nbsp;value)</code>
<div class="block">Writes an unsigned byte into the ByteBuffer at a specified position</div>
</td>
</tr>
<tr id="i144" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putUnsigned-int-int-">putUnsigned</a></span>(int&nbsp;index,
int&nbsp;value)</code>
<div class="block">Writes an unsigned byte into the ByteBuffer at a specified position</div>
</td>
</tr>
<tr id="i145" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putUnsigned-int-long-">putUnsigned</a></span>(int&nbsp;index,
long&nbsp;value)</code>
<div class="block">Writes an unsigned byte into the ByteBuffer at a specified position</div>
</td>
</tr>
<tr id="i146" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putUnsigned-int-short-">putUnsigned</a></span>(int&nbsp;index,
short&nbsp;value)</code>
<div class="block">Writes an unsigned byte into the ByteBuffer at a specified position</div>
</td>
</tr>
<tr id="i147" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putUnsigned-long-">putUnsigned</a></span>(long&nbsp;value)</code>
<div class="block">Writes an unsigned byte into the ByteBuffer</div>
</td>
</tr>
<tr id="i148" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putUnsigned-short-">putUnsigned</a></span>(short&nbsp;value)</code>
<div class="block">Writes an unsigned byte into the ByteBuffer</div>
</td>
</tr>
<tr id="i149" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putUnsignedInt-byte-">putUnsignedInt</a></span>(byte&nbsp;value)</code>
<div class="block">Writes an unsigned int into the ByteBuffer</div>
</td>
</tr>
<tr id="i150" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putUnsignedInt-int-">putUnsignedInt</a></span>(int&nbsp;value)</code>
<div class="block">Writes an unsigned int into the ByteBuffer</div>
</td>
</tr>
<tr id="i151" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putUnsignedInt-int-byte-">putUnsignedInt</a></span>(int&nbsp;index,
byte&nbsp;value)</code>
<div class="block">Writes an unsigned int into the ByteBuffer at a specified position</div>
</td>
</tr>
<tr id="i152" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putUnsignedInt-int-int-">putUnsignedInt</a></span>(int&nbsp;index,
int&nbsp;value)</code>
<div class="block">Writes an unsigned int into the ByteBuffer at a specified position</div>
</td>
</tr>
<tr id="i153" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putUnsignedInt-int-long-">putUnsignedInt</a></span>(int&nbsp;index,
long&nbsp;value)</code>
<div class="block">Writes an unsigned int into the ByteBuffer at a specified position</div>
</td>
</tr>
<tr id="i154" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putUnsignedInt-int-short-">putUnsignedInt</a></span>(int&nbsp;index,
short&nbsp;value)</code>
<div class="block">Writes an unsigned int into the ByteBuffer at a specified position</div>
</td>
</tr>
<tr id="i155" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putUnsignedInt-long-">putUnsignedInt</a></span>(long&nbsp;value)</code>
<div class="block">Writes an unsigned int into the ByteBuffer</div>
</td>
</tr>
<tr id="i156" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putUnsignedInt-short-">putUnsignedInt</a></span>(short&nbsp;value)</code>
<div class="block">Writes an unsigned int into the ByteBuffer</div>
</td>
</tr>
<tr id="i157" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putUnsignedShort-byte-">putUnsignedShort</a></span>(byte&nbsp;value)</code>
<div class="block">Writes an unsigned short into the ByteBuffer</div>
</td>
</tr>
<tr id="i158" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putUnsignedShort-int-">putUnsignedShort</a></span>(int&nbsp;value)</code>
<div class="block">Writes an unsigned Short into the ByteBuffer</div>
</td>
</tr>
<tr id="i159" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putUnsignedShort-int-byte-">putUnsignedShort</a></span>(int&nbsp;index,
byte&nbsp;value)</code>
<div class="block">Writes an unsigned Short into the ByteBuffer at a specified position</div>
</td>
</tr>
<tr id="i160" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putUnsignedShort-int-int-">putUnsignedShort</a></span>(int&nbsp;index,
int&nbsp;value)</code>
<div class="block">Writes an unsigned Short into the ByteBuffer at a specified position</div>
</td>
</tr>
<tr id="i161" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putUnsignedShort-int-long-">putUnsignedShort</a></span>(int&nbsp;index,
long&nbsp;value)</code>
<div class="block">Writes an unsigned Short into the ByteBuffer at a specified position</div>
</td>
</tr>
<tr id="i162" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putUnsignedShort-int-short-">putUnsignedShort</a></span>(int&nbsp;index,
short&nbsp;value)</code>
<div class="block">Writes an unsigned Short into the ByteBuffer at a specified position</div>
</td>
</tr>
<tr id="i163" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putUnsignedShort-long-">putUnsignedShort</a></span>(long&nbsp;value)</code>
<div class="block">Writes an unsigned Short into the ByteBuffer</div>
</td>
</tr>
<tr id="i164" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#putUnsignedShort-short-">putUnsignedShort</a></span>(short&nbsp;value)</code>
<div class="block">Writes an unsigned Short into the ByteBuffer</div>
</td>
</tr>
<tr id="i165" class="rowColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#remaining--">remaining</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i166" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#reset--">reset</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i167" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#rewind--">rewind</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i168" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#setAllocator-org.apache.mina.core.buffer.IoBufferAllocator-">setAllocator</a></span>(<a href="../../../../../org/apache/mina/core/buffer/IoBufferAllocator.html" title="interface in org.apache.mina.core.buffer">IoBufferAllocator</a>&nbsp;newAllocator)</code>
<div class="block">Sets the allocator used by existing and new buffers</div>
</td>
</tr>
<tr id="i169" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#setAutoExpand-boolean-">setAutoExpand</a></span>(boolean&nbsp;autoExpand)</code>
<div class="block">Turns on or off <tt>autoExpand</tt>.</div>
</td>
</tr>
<tr id="i170" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#setAutoShrink-boolean-">setAutoShrink</a></span>(boolean&nbsp;autoShrink)</code>
<div class="block">Turns on or off <tt>autoShrink</tt>.</div>
</td>
</tr>
<tr id="i171" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#setUseDirectBuffer-boolean-">setUseDirectBuffer</a></span>(boolean&nbsp;useDirectBuffer)</code>
<div class="block">Sets if a direct buffer should be allocated by default when the type of
the new buffer is not specified.</div>
</td>
</tr>
<tr id="i172" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#shrink--">shrink</a></span>()</code>
<div class="block">Changes the capacity of this buffer so this buffer occupies as less
memory as possible while retaining the position, limit and the buffer
content between the position and limit.</div>
</td>
</tr>
<tr id="i173" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#skip-int-">skip</a></span>(int&nbsp;size)</code>
<div class="block">Forwards the position of this buffer as the specified <code>size</code>
bytes.</div>
</td>
</tr>
<tr id="i174" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#slice--">slice</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i175" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#sweep--">sweep</a></span>()</code>
<div class="block">Clears this buffer and fills its content with <tt>NUL</tt>.</div>
</td>
</tr>
<tr id="i176" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#sweep-byte-">sweep</a></span>(byte&nbsp;value)</code>
<div class="block">double Clears this buffer and fills its content with <tt>value</tt>.</div>
</td>
</tr>
<tr id="i177" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#wrap-byte:A-">wrap</a></span>(byte[]&nbsp;byteArray)</code>
<div class="block">Wraps the specified byte array into a MINA heap buffer.</div>
</td>
</tr>
<tr id="i178" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#wrap-byte:A-int-int-">wrap</a></span>(byte[]&nbsp;byteArray,
int&nbsp;offset,
int&nbsp;length)</code>
<div class="block">Wraps the specified byte array into MINA heap buffer.</div>
</td>
</tr>
<tr id="i179" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#wrap-java.nio.ByteBuffer-">wrap</a></span>(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a>&nbsp;nioBuffer)</code>
<div class="block">Wraps the specified NIO <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio"><code>ByteBuffer</code></a> into a MINA buffer (either direct or heap).</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Comparable">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;java.lang.<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a></h3>
<code><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Comparable.html?is-external=true#compareTo-T-" title="class or interface in java.lang">compareTo</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="IoBuffer--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>IoBuffer</h4>
<pre>protected&nbsp;IoBuffer()</pre>
<div class="block">Creates a new instance. This is an empty constructor. It's protected,
to forbid its usage by the users.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getAllocator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllocator</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBufferAllocator.html" title="interface in org.apache.mina.core.buffer">IoBufferAllocator</a>&nbsp;getAllocator()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the allocator used by existing and new buffers</dd>
</dl>
</li>
</ul>
<a name="setAllocator-org.apache.mina.core.buffer.IoBufferAllocator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAllocator</h4>
<pre>public static&nbsp;void&nbsp;setAllocator(<a href="../../../../../org/apache/mina/core/buffer/IoBufferAllocator.html" title="interface in org.apache.mina.core.buffer">IoBufferAllocator</a>&nbsp;newAllocator)</pre>
<div class="block">Sets the allocator used by existing and new buffers</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>newAllocator</code> - the new allocator to use</dd>
</dl>
</li>
</ul>
<a name="isUseDirectBuffer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isUseDirectBuffer</h4>
<pre>public static&nbsp;boolean&nbsp;isUseDirectBuffer()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> if and only if a direct buffer is allocated by
default when the type of the new buffer is not specified. The default
value is <tt>false</tt>.</dd>
</dl>
</li>
</ul>
<a name="setUseDirectBuffer-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUseDirectBuffer</h4>
<pre>public static&nbsp;void&nbsp;setUseDirectBuffer(boolean&nbsp;useDirectBuffer)</pre>
<div class="block">Sets if a direct buffer should be allocated by default when the type of
the new buffer is not specified. The default value is <tt>false</tt>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>useDirectBuffer</code> - Tells if direct buffers should be allocated</dd>
</dl>
</li>
</ul>
<a name="allocate-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allocate</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;allocate(int&nbsp;capacity)</pre>
<div class="block">Returns the direct or heap buffer which is capable to store the specified
amount of bytes.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>capacity</code> - the capacity of the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a IoBuffer which can hold up to capacity bytes</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#setUseDirectBuffer-boolean-"><code>setUseDirectBuffer(boolean)</code></a></dd>
</dl>
</li>
</ul>
<a name="allocate-int-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allocate</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;allocate(int&nbsp;capacity,
boolean&nbsp;useDirectBuffer)</pre>
<div class="block">Returns a direct or heap IoBuffer which can contain the specified number of bytes.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>capacity</code> - the capacity of the buffer</dd>
<dd><code>useDirectBuffer</code> - <tt>true</tt> to get a direct buffer, <tt>false</tt> to get a
heap buffer.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a direct or heap IoBuffer which can hold up to capacity bytes</dd>
</dl>
</li>
</ul>
<a name="wrap-java.nio.ByteBuffer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>wrap</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;wrap(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a>&nbsp;nioBuffer)</pre>
<div class="block">Wraps the specified NIO <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio"><code>ByteBuffer</code></a> into a MINA buffer (either direct or heap).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>nioBuffer</code> - The <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio"><code>ByteBuffer</code></a> to wrap</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a IoBuffer containing the bytes stored in the <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio"><code>ByteBuffer</code></a></dd>
</dl>
</li>
</ul>
<a name="wrap-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>wrap</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;wrap(byte[]&nbsp;byteArray)</pre>
<div class="block">Wraps the specified byte array into a MINA heap buffer. Note that
the byte array is not copied, so any modification done on it will
be visible by both sides.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>byteArray</code> - The byte array to wrap</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a heap IoBuffer containing the byte array</dd>
</dl>
</li>
</ul>
<a name="wrap-byte:A-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>wrap</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;wrap(byte[]&nbsp;byteArray,
int&nbsp;offset,
int&nbsp;length)</pre>
<div class="block">Wraps the specified byte array into MINA heap buffer. We just wrap the
bytes starting from offset up to offset + length. Note that
the byte array is not copied, so any modification done on it will
be visible by both sides.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>byteArray</code> - The byte array to wrap</dd>
<dd><code>offset</code> - The starting point in the byte array</dd>
<dd><code>length</code> - The number of bytes to store</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a heap IoBuffer containing the selected part of the byte array</dd>
</dl>
</li>
</ul>
<a name="normalizeCapacity-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>normalizeCapacity</h4>
<pre>protected static&nbsp;int&nbsp;normalizeCapacity(int&nbsp;requestedCapacity)</pre>
<div class="block">Normalizes the specified capacity of the buffer to power of 2, which is
often helpful for optimal memory usage and performance. If it is greater
than or equal to <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Integer.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Integer.MAX_VALUE</code></a>, it returns
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Integer.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Integer.MAX_VALUE</code></a>. If it is zero, it returns zero.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>requestedCapacity</code> - The IoBuffer capacity we want to be able to store</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The power of 2 strictly superior to the requested capacity</dd>
</dl>
</li>
</ul>
<a name="free--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>free</h4>
<pre>public abstract&nbsp;void&nbsp;free()</pre>
<div class="block">Declares this buffer and all its derived buffers are not used anymore so
that it can be reused by some <a href="../../../../../org/apache/mina/core/buffer/IoBufferAllocator.html" title="interface in org.apache.mina.core.buffer"><code>IoBufferAllocator</code></a> implementations.
It is not mandatory to call this method, but you might want to invoke
this method for maximum performance.</div>
</li>
</ul>
<a name="buf--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>buf</h4>
<pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a>&nbsp;buf()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the underlying NIO <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio"><code>ByteBuffer</code></a> instance.</dd>
</dl>
</li>
</ul>
<a name="isDirect--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isDirect</h4>
<pre>public abstract&nbsp;boolean&nbsp;isDirect()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>True</tt> if this is a direct buffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#isDirect--" title="class or interface in java.nio"><code>ByteBuffer.isDirect()</code></a></dd>
</dl>
</li>
</ul>
<a name="isDerived--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isDerived</h4>
<pre>public abstract&nbsp;boolean&nbsp;isDerived()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> if and only if this buffer is derived from another
buffer via one of the <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#duplicate--"><code>duplicate()</code></a>, <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#slice--"><code>slice()</code></a> or
<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#asReadOnlyBuffer--"><code>asReadOnlyBuffer()</code></a> methods.</dd>
</dl>
</li>
</ul>
<a name="isReadOnly--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isReadOnly</h4>
<pre>public abstract&nbsp;boolean&nbsp;isReadOnly()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> if the buffer is readOnly</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/Buffer.html?is-external=true#isReadOnly--" title="class or interface in java.nio"><code>Buffer.isReadOnly()</code></a></dd>
</dl>
</li>
</ul>
<a name="minimumCapacity--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minimumCapacity</h4>
<pre>public abstract&nbsp;int&nbsp;minimumCapacity()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the minimum capacity of this buffer which is used to determine
the new capacity of the buffer shrunk by the <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#compact--"><code>compact()</code></a> and
<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#shrink--"><code>shrink()</code></a> operation. The default value is the initial capacity of
the buffer.</dd>
</dl>
</li>
</ul>
<a name="minimumCapacity-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minimumCapacity</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;minimumCapacity(int&nbsp;minimumCapacity)</pre>
<div class="block">Sets the minimum capacity of this buffer which is used to determine the
new capacity of the buffer shrunk by <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#compact--"><code>compact()</code></a> and
<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#shrink--"><code>shrink()</code></a> operation. The default value is the initial capacity of
the buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>minimumCapacity</code> - the wanted minimum capacity</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the underlying NIO <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio"><code>ByteBuffer</code></a> instance.</dd>
</dl>
</li>
</ul>
<a name="capacity--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>capacity</h4>
<pre>public abstract&nbsp;int&nbsp;capacity()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the buffer capacity</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/Buffer.html?is-external=true#capacity--" title="class or interface in java.nio"><code>Buffer.capacity()</code></a></dd>
</dl>
</li>
</ul>
<a name="capacity-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>capacity</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;capacity(int&nbsp;newCapacity)</pre>
<div class="block">Increases the capacity of this buffer. If the new capacity is less than
or equal to the current capacity, this method returns the original buffer.
If the new capacity is greater than the current capacity, the buffer is
reallocated while retaining the position, limit, mark and the content of
the buffer.
<br>
Note that the IoBuffer is replaced, it's not copied.
<br>
Assuming a buffer contains N bytes, its position is 0 and its current capacity is C,
here are the resulting buffer if we set the new capacity to a value V &lt; C and V &gt; C :
<pre>
Initial buffer :
0 L C
+--------+----------+
|XXXXXXXX| |
+--------+----------+
^ ^ ^
| | |
pos limit capacity
V &lt;= C :
0 L C
+--------+----------+
|XXXXXXXX| |
+--------+----------+
^ ^ ^
| | |
pos limit newCapacity
V &gt; C :
0 L C V
+--------+-----------------------+
|XXXXXXXX| : |
+--------+-----------------------+
^ ^ ^ ^
| | | |
pos limit oldCapacity newCapacity
The buffer has been increased.
</pre></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>newCapacity</code> - the wanted capacity</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the underlying NIO <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio"><code>ByteBuffer</code></a> instance.</dd>
</dl>
</li>
</ul>
<a name="isAutoExpand--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAutoExpand</h4>
<pre>public abstract&nbsp;boolean&nbsp;isAutoExpand()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> if and only if <tt>autoExpand</tt> is turned on.</dd>
</dl>
</li>
</ul>
<a name="setAutoExpand-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAutoExpand</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;setAutoExpand(boolean&nbsp;autoExpand)</pre>
<div class="block">Turns on or off <tt>autoExpand</tt>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>autoExpand</code> - The flag value to set</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The modified IoBuffer instance</dd>
</dl>
</li>
</ul>
<a name="isAutoShrink--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAutoShrink</h4>
<pre>public abstract&nbsp;boolean&nbsp;isAutoShrink()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> if and only if <tt>autoShrink</tt> is turned on.</dd>
</dl>
</li>
</ul>
<a name="setAutoShrink-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAutoShrink</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;setAutoShrink(boolean&nbsp;autoShrink)</pre>
<div class="block">Turns on or off <tt>autoShrink</tt>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>autoShrink</code> - The flag value to set</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The modified IoBuffer instance</dd>
</dl>
</li>
</ul>
<a name="expand-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>expand</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;expand(int&nbsp;expectedRemaining)</pre>
<div class="block">Changes the capacity and limit of this buffer so this buffer get the
specified <tt>expectedRemaining</tt> room from the current position. This
method works even if you didn't set <tt>autoExpand</tt> to <tt>true</tt>.
<br>
Assuming a buffer contains N bytes, its position is P and its current capacity is C,
here are the resulting buffer if we call the expand method with a expectedRemaining
value V :
<pre>
Initial buffer :
0 L C
+--------+----------+
|XXXXXXXX| |
+--------+----------+
^ ^ ^
| | |
pos limit capacity
( pos + V ) &lt;= L, no change :
0 L C
+--------+----------+
|XXXXXXXX| |
+--------+----------+
^ ^ ^
| | |
pos limit newCapacity
You can still put ( L - pos ) bytes in the buffer
( pos + V ) &gt; L &amp; ( pos + V ) &lt;= C :
0 L C
+------------+------+
|XXXXXXXX:...| |
+------------+------+
^ ^ ^
| | |
pos newlimit newCapacity
You can now put ( L - pos + V ) bytes in the buffer.
( pos + V ) &gt; C
0 L C
+-------------------+----+
|XXXXXXXX:..........:....|
+------------------------+
^ ^
| |
pos +-- newlimit
|
+-- newCapacity
You can now put ( L - pos + V ) bytes in the buffer, which limit is now
equals to the capacity.
</pre>
Note that the expecting remaining bytes starts at the current position. In all
those examples, the position is 0.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>expectedRemaining</code> - The expected remaining bytes in the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The modified IoBuffer instance</dd>
</dl>
</li>
</ul>
<a name="expand-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>expand</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;expand(int&nbsp;position,
int&nbsp;expectedRemaining)</pre>
<div class="block">Changes the capacity and limit of this buffer so this buffer get the
specified <tt>expectedRemaining</tt> room from the specified
<tt>position</tt>. This method works even if you didn't set
<tt>autoExpand</tt> to <tt>true</tt>.
Assuming a buffer contains N bytes, its position is P and its current capacity is C,
here are the resulting buffer if we call the expand method with a expectedRemaining
value V :
<pre>
Initial buffer :
P L C
+--------+----------+
|XXXXXXXX| |
+--------+----------+
^ ^ ^
| | |
pos limit capacity
( pos + V ) &lt;= L, no change :
P L C
+--------+----------+
|XXXXXXXX| |
+--------+----------+
^ ^ ^
| | |
pos limit newCapacity
You can still put ( L - pos ) bytes in the buffer
( pos + V ) &gt; L &amp; ( pos + V ) &lt;= C :
P L C
+------------+------+
|XXXXXXXX:...| |
+------------+------+
^ ^ ^
| | |
pos newlimit newCapacity
You can now put ( L - pos + V) bytes in the buffer.
( pos + V ) &gt; C
P L C
+-------------------+----+
|XXXXXXXX:..........:....|
+------------------------+
^ ^
| |
pos +-- newlimit
|
+-- newCapacity
You can now put ( L - pos + V ) bytes in the buffer, which limit is now
equals to the capacity.
</pre>
Note that the expecting remaining bytes starts at the current position. In all
those examples, the position is P.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>position</code> - The starting position from which we want to define a remaining
number of bytes</dd>
<dd><code>expectedRemaining</code> - The expected remaining bytes in the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The modified IoBuffer instance</dd>
</dl>
</li>
</ul>
<a name="shrink--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shrink</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;shrink()</pre>
<div class="block">Changes the capacity of this buffer so this buffer occupies as less
memory as possible while retaining the position, limit and the buffer
content between the position and limit.
<br>
<b>The capacity of the buffer never becomes less than <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#minimumCapacity--"><code>minimumCapacity()</code></a></b>
<br>.
The mark is discarded once the capacity changes.
<br>
Typically, a call to this method tries to remove as much unused bytes
as possible, dividing by two the initial capacity until it can't without
obtaining a new capacity lower than the <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#minimumCapacity--"><code>minimumCapacity()</code></a>. For instance, if
the limit is 7 and the capacity is 36, with a minimum capacity of 8,
shrinking the buffer will left a capacity of 9 (we go down from 36 to 18, then from 18 to 9).
<pre>
Initial buffer :
+--------+----------+
|XXXXXXXX| |
+--------+----------+
^ ^ ^ ^
| | | |
pos | | capacity
| |
| +-- minimumCapacity
|
+-- limit
Resulting buffer :
+--------+--+-+
|XXXXXXXX| | |
+--------+--+-+
^ ^ ^ ^
| | | |
| | | +-- new capacity
| | |
pos | +-- minimum capacity
|
+-- limit
</pre></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The modified IoBuffer instance</dd>
</dl>
</li>
</ul>
<a name="position--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>position</h4>
<pre>public abstract&nbsp;int&nbsp;position()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The current position in the buffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/Buffer.html?is-external=true#position--" title="class or interface in java.nio"><code>Buffer.position()</code></a></dd>
</dl>
</li>
</ul>
<a name="position-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>position</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;position(int&nbsp;newPosition)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>newPosition</code> - Sets the new position in the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/Buffer.html?is-external=true#position-int-" title="class or interface in java.nio"><code>Buffer.position(int)</code></a></dd>
</dl>
</li>
</ul>
<a name="limit--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>limit</h4>
<pre>public abstract&nbsp;int&nbsp;limit()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer
's limit</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/Buffer.html?is-external=true#limit--" title="class or interface in java.nio"><code>Buffer.limit()</code></a></dd>
</dl>
</li>
</ul>
<a name="limit-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>limit</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;limit(int&nbsp;newLimit)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>newLimit</code> - The new buffer's limit</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/Buffer.html?is-external=true#limit-int-" title="class or interface in java.nio"><code>Buffer.limit(int)</code></a></dd>
</dl>
</li>
</ul>
<a name="mark--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mark</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;mark()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/Buffer.html?is-external=true#mark--" title="class or interface in java.nio"><code>Buffer.mark()</code></a></dd>
</dl>
</li>
</ul>
<a name="markValue--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>markValue</h4>
<pre>public abstract&nbsp;int&nbsp;markValue()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the position of the current mark. This method returns <tt>-1</tt>
if no mark is set.</dd>
</dl>
</li>
</ul>
<a name="reset--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reset</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;reset()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/Buffer.html?is-external=true#reset--" title="class or interface in java.nio"><code>Buffer.reset()</code></a></dd>
</dl>
</li>
</ul>
<a name="clear--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clear</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;clear()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/Buffer.html?is-external=true#clear--" title="class or interface in java.nio"><code>Buffer.clear()</code></a></dd>
</dl>
</li>
</ul>
<a name="sweep--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sweep</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;sweep()</pre>
<div class="block">Clears this buffer and fills its content with <tt>NUL</tt>. The position
is set to zero, the limit is set to the capacity, and the mark is
discarded.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="sweep-byte-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sweep</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;sweep(byte&nbsp;value)</pre>
<div class="block">double Clears this buffer and fills its content with <tt>value</tt>. The
position is set to zero, the limit is set to the capacity, and the mark
is discarded.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - The value to put in the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="flip--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>flip</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;flip()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/Buffer.html?is-external=true#flip--" title="class or interface in java.nio"><code>Buffer.flip()</code></a></dd>
</dl>
</li>
</ul>
<a name="rewind--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rewind</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;rewind()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/Buffer.html?is-external=true#rewind--" title="class or interface in java.nio"><code>Buffer.rewind()</code></a></dd>
</dl>
</li>
</ul>
<a name="remaining--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remaining</h4>
<pre>public abstract&nbsp;int&nbsp;remaining()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The remaining bytes in the buffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/Buffer.html?is-external=true#remaining--" title="class or interface in java.nio"><code>Buffer.remaining()</code></a></dd>
</dl>
</li>
</ul>
<a name="hasRemaining--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasRemaining</h4>
<pre>public abstract&nbsp;boolean&nbsp;hasRemaining()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> if there are some remaining bytes in the buffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/Buffer.html?is-external=true#hasRemaining--" title="class or interface in java.nio"><code>Buffer.hasRemaining()</code></a></dd>
</dl>
</li>
</ul>
<a name="duplicate--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>duplicate</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;duplicate()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#duplicate--" title="class or interface in java.nio"><code>ByteBuffer.duplicate()</code></a></dd>
</dl>
</li>
</ul>
<a name="slice--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>slice</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;slice()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#slice--" title="class or interface in java.nio"><code>ByteBuffer.slice()</code></a></dd>
</dl>
</li>
</ul>
<a name="asReadOnlyBuffer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asReadOnlyBuffer</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;asReadOnlyBuffer()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#asReadOnlyBuffer--" title="class or interface in java.nio"><code>ByteBuffer.asReadOnlyBuffer()</code></a></dd>
</dl>
</li>
</ul>
<a name="hasArray--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasArray</h4>
<pre>public abstract&nbsp;boolean&nbsp;hasArray()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> if the <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#array--"><code>array()</code></a> method will return a byte[]</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#hasArray--" title="class or interface in java.nio"><code>ByteBuffer.hasArray()</code></a></dd>
</dl>
</li>
</ul>
<a name="array--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>array</h4>
<pre>public abstract&nbsp;byte[]&nbsp;array()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A byte[] if this IoBuffer supports it</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#array--" title="class or interface in java.nio"><code>ByteBuffer.array()</code></a></dd>
</dl>
</li>
</ul>
<a name="arrayOffset--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>arrayOffset</h4>
<pre>public abstract&nbsp;int&nbsp;arrayOffset()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The offset in the returned byte[] when the <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#array--"><code>array()</code></a> method is called</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#arrayOffset--" title="class or interface in java.nio"><code>ByteBuffer.arrayOffset()</code></a></dd>
</dl>
</li>
</ul>
<a name="get--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public abstract&nbsp;byte&nbsp;get()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The byte at the current position</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#get--" title="class or interface in java.nio"><code>ByteBuffer.get()</code></a></dd>
</dl>
</li>
</ul>
<a name="getUnsigned--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUnsigned</h4>
<pre>public abstract&nbsp;short&nbsp;getUnsigned()</pre>
<div class="block">Reads one unsigned byte as a short integer.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the unsigned short at the current position</dd>
</dl>
</li>
</ul>
<a name="put-byte-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;put(byte&nbsp;b)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>b</code> - The byte to put in the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#put-byte-" title="class or interface in java.nio"><code>ByteBuffer.put(byte)</code></a></dd>
</dl>
</li>
</ul>
<a name="get-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public abstract&nbsp;byte&nbsp;get(int&nbsp;index)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The position for which we want to read a byte</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the byte at the given position</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#get-int-" title="class or interface in java.nio"><code>ByteBuffer.get(int)</code></a></dd>
</dl>
</li>
</ul>
<a name="getUnsigned-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUnsigned</h4>
<pre>public abstract&nbsp;short&nbsp;getUnsigned(int&nbsp;index)</pre>
<div class="block">Reads one byte as an unsigned short integer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The position for which we want to read an unsigned byte</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the unsigned byte at the given position</dd>
</dl>
</li>
</ul>
<a name="put-int-byte-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;put(int&nbsp;index,
byte&nbsp;b)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The position where the byte will be put</dd>
<dd><code>b</code> - The byte to put</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#put-int-byte-" title="class or interface in java.nio"><code>ByteBuffer.put(int, byte)</code></a></dd>
</dl>
</li>
</ul>
<a name="get-byte:A-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;get(byte[]&nbsp;dst,
int&nbsp;offset,
int&nbsp;length)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dst</code> - The destination buffer</dd>
<dd><code>offset</code> - The position in the original buffer</dd>
<dd><code>length</code> - The number of bytes to copy</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#get-byte:A-int-int-" title="class or interface in java.nio"><code>ByteBuffer.get(byte[], int, int)</code></a></dd>
</dl>
</li>
</ul>
<a name="get-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;get(byte[]&nbsp;dst)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dst</code> - The byte[] that will contain the read bytes</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#get-byte:A-" title="class or interface in java.nio"><code>ByteBuffer.get(byte[])</code></a></dd>
</dl>
</li>
</ul>
<a name="getSlice-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSlice</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;getSlice(int&nbsp;index,
int&nbsp;length)</pre>
<div class="block">Get a new IoBuffer containing a slice of the current buffer</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The position in the buffer</dd>
<dd><code>length</code> - The number of bytes to copy</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the new IoBuffer</dd>
</dl>
</li>
</ul>
<a name="getSlice-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSlice</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;getSlice(int&nbsp;length)</pre>
<div class="block">Get a new IoBuffer containing a slice of the current buffer</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>length</code> - The number of bytes to copy</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the new IoBuffer</dd>
</dl>
</li>
</ul>
<a name="put-java.nio.ByteBuffer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;put(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a>&nbsp;src)</pre>
<div class="block">Writes the content of the specified <tt>src</tt> into this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>src</code> - The source ByteBuffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="put-org.apache.mina.core.buffer.IoBuffer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;put(<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;src)</pre>
<div class="block">Writes the content of the specified <tt>src</tt> into this buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>src</code> - The source IoBuffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="put-byte:A-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;put(byte[]&nbsp;src,
int&nbsp;offset,
int&nbsp;length)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>src</code> - The byte[] to put</dd>
<dd><code>offset</code> - The position in the source</dd>
<dd><code>length</code> - The number of bytes to copy</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#put-byte:A-int-int-" title="class or interface in java.nio"><code>ByteBuffer.put(byte[], int, int)</code></a></dd>
</dl>
</li>
</ul>
<a name="put-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;put(byte[]&nbsp;src)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>src</code> - The byte[] to put</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#put-byte:A-" title="class or interface in java.nio"><code>ByteBuffer.put(byte[])</code></a></dd>
</dl>
</li>
</ul>
<a name="compact--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compact</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;compact()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#compact--" title="class or interface in java.nio"><code>ByteBuffer.compact()</code></a></dd>
</dl>
</li>
</ul>
<a name="order--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>order</h4>
<pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteOrder.html?is-external=true" title="class or interface in java.nio">ByteOrder</a>&nbsp;order()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the IoBuffer ByteOrder</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#order--" title="class or interface in java.nio"><code>ByteBuffer.order()</code></a></dd>
</dl>
</li>
</ul>
<a name="order-java.nio.ByteOrder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>order</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;order(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteOrder.html?is-external=true" title="class or interface in java.nio">ByteOrder</a>&nbsp;bo)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>bo</code> - The new ByteBuffer to use for this IoBuffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#order-java.nio.ByteOrder-" title="class or interface in java.nio"><code>ByteBuffer.order(ByteOrder)</code></a></dd>
</dl>
</li>
</ul>
<a name="getChar--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChar</h4>
<pre>public abstract&nbsp;char&nbsp;getChar()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The char at the current position</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#getChar--" title="class or interface in java.nio"><code>ByteBuffer.getChar()</code></a></dd>
</dl>
</li>
</ul>
<a name="putChar-char-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putChar</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putChar(char&nbsp;value)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - The char to put at the current position</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#putChar-char-" title="class or interface in java.nio"><code>ByteBuffer.putChar(char)</code></a></dd>
</dl>
</li>
</ul>
<a name="getChar-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChar</h4>
<pre>public abstract&nbsp;char&nbsp;getChar(int&nbsp;index)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The index in the IoBuffer where we will read a char from</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the char at 'index' position</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#getChar-int-" title="class or interface in java.nio"><code>ByteBuffer.getChar(int)</code></a></dd>
</dl>
</li>
</ul>
<a name="putChar-int-char-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putChar</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putChar(int&nbsp;index,
char&nbsp;value)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The index in the IoBuffer where we will put a char in</dd>
<dd><code>value</code> - The char to put at the current position</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#putChar-int-char-" title="class or interface in java.nio"><code>ByteBuffer.putChar(int, char)</code></a></dd>
</dl>
</li>
</ul>
<a name="asCharBuffer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asCharBuffer</h4>
<pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/CharBuffer.html?is-external=true" title="class or interface in java.nio">CharBuffer</a>&nbsp;asCharBuffer()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new CharBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#asCharBuffer--" title="class or interface in java.nio"><code>ByteBuffer.asCharBuffer()</code></a></dd>
</dl>
</li>
</ul>
<a name="getShort--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getShort</h4>
<pre>public abstract&nbsp;short&nbsp;getShort()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The read short</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#getShort--" title="class or interface in java.nio"><code>ByteBuffer.getShort()</code></a></dd>
</dl>
</li>
</ul>
<a name="getUnsignedShort--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUnsignedShort</h4>
<pre>public abstract&nbsp;int&nbsp;getUnsignedShort()</pre>
<div class="block">Reads two bytes unsigned integer.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The read unsigned short</dd>
</dl>
</li>
</ul>
<a name="putShort-short-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putShort</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putShort(short&nbsp;value)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - The short to put at the current position</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#putShort-short-" title="class or interface in java.nio"><code>ByteBuffer.putShort(short)</code></a></dd>
</dl>
</li>
</ul>
<a name="getShort-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getShort</h4>
<pre>public abstract&nbsp;short&nbsp;getShort(int&nbsp;index)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The index in the IoBuffer where we will read a short from</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The read short</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#getShort--" title="class or interface in java.nio"><code>ByteBuffer.getShort()</code></a></dd>
</dl>
</li>
</ul>
<a name="getUnsignedShort-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUnsignedShort</h4>
<pre>public abstract&nbsp;int&nbsp;getUnsignedShort(int&nbsp;index)</pre>
<div class="block">Reads two bytes unsigned integer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The index in the IoBuffer where we will read an unsigned short from</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the unsigned short at the given position</dd>
</dl>
</li>
</ul>
<a name="putShort-int-short-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putShort</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putShort(int&nbsp;index,
short&nbsp;value)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The position at which the short should be written</dd>
<dd><code>value</code> - The short to put at the current position</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#putShort-int-short-" title="class or interface in java.nio"><code>ByteBuffer.putShort(int, short)</code></a></dd>
</dl>
</li>
</ul>
<a name="asShortBuffer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asShortBuffer</h4>
<pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ShortBuffer.html?is-external=true" title="class or interface in java.nio">ShortBuffer</a>&nbsp;asShortBuffer()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A ShortBuffer from this IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#asShortBuffer--" title="class or interface in java.nio"><code>ByteBuffer.asShortBuffer()</code></a></dd>
</dl>
</li>
</ul>
<a name="getInt--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInt</h4>
<pre>public abstract&nbsp;int&nbsp;getInt()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The int read</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#getInt--" title="class or interface in java.nio"><code>ByteBuffer.getInt()</code></a></dd>
</dl>
</li>
</ul>
<a name="getUnsignedInt--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUnsignedInt</h4>
<pre>public abstract&nbsp;long&nbsp;getUnsignedInt()</pre>
<div class="block">Reads four bytes unsigned integer.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The unsigned int read</dd>
</dl>
</li>
</ul>
<a name="getMediumInt--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMediumInt</h4>
<pre>public abstract&nbsp;int&nbsp;getMediumInt()</pre>
<div class="block">Relative <i>get</i> method for reading a medium int value.
<p>
Reads the next three bytes at this buffer's current position, composing
them into an int value according to the current byte order, and then
increments the position by three.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The medium int value at the buffer's current position</dd>
</dl>
</li>
</ul>
<a name="getUnsignedMediumInt--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUnsignedMediumInt</h4>
<pre>public abstract&nbsp;int&nbsp;getUnsignedMediumInt()</pre>
<div class="block">Relative <i>get</i> method for reading an unsigned medium int value.
<p>
Reads the next three bytes at this buffer's current position, composing
them into an int value according to the current byte order, and then
increments the position by three.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The unsigned medium int value at the buffer's current position</dd>
</dl>
</li>
</ul>
<a name="getMediumInt-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMediumInt</h4>
<pre>public abstract&nbsp;int&nbsp;getMediumInt(int&nbsp;index)</pre>
<div class="block">Absolute <i>get</i> method for reading a medium int value.
<p>
Reads the next three bytes at this buffer's current position, composing
them into an int value according to the current byte order.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The index from which the medium int will be read</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The medium int value at the given index</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - If <tt>index</tt> is negative or not smaller than the
buffer's limit</dd>
</dl>
</li>
</ul>
<a name="getUnsignedMediumInt-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUnsignedMediumInt</h4>
<pre>public abstract&nbsp;int&nbsp;getUnsignedMediumInt(int&nbsp;index)</pre>
<div class="block">Absolute <i>get</i> method for reading an unsigned medium int value.
<p>
Reads the next three bytes at this buffer's current position, composing
them into an int value according to the current byte order.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The index from which the unsigned medium int will be read</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The unsigned medium int value at the given index</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - If <tt>index</tt> is negative or not smaller than the
buffer's limit</dd>
</dl>
</li>
</ul>
<a name="putMediumInt-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putMediumInt</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putMediumInt(int&nbsp;value)</pre>
<div class="block">Relative <i>put</i> method for writing a medium int value.
<p>
Writes three bytes containing the given int value, in the current byte
order, into this buffer at the current position, and then increments the
position by three.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - The medium int value to be written</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putMediumInt-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putMediumInt</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putMediumInt(int&nbsp;index,
int&nbsp;value)</pre>
<div class="block">Absolute <i>put</i> method for writing a medium int value.
<p>
Writes three bytes containing the given int value, in the current byte
order, into this buffer at the given index.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The index at which the bytes will be written</dd>
<dd><code>value</code> - The medium int value to be written</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - If <tt>index</tt> is negative or not smaller than the
buffer's limit, minus three</dd>
</dl>
</li>
</ul>
<a name="putInt-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putInt</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putInt(int&nbsp;value)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - The int to put at the current position</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#putInt-int-" title="class or interface in java.nio"><code>ByteBuffer.putInt(int)</code></a></dd>
</dl>
</li>
</ul>
<a name="putUnsigned-byte-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putUnsigned</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putUnsigned(byte&nbsp;value)</pre>
<div class="block">Writes an unsigned byte into the ByteBuffer</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - the byte to write</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putUnsigned-int-byte-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putUnsigned</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putUnsigned(int&nbsp;index,
byte&nbsp;value)</pre>
<div class="block">Writes an unsigned byte into the ByteBuffer at a specified position</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the position in the buffer to write the value</dd>
<dd><code>value</code> - the byte to write</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putUnsigned-short-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putUnsigned</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putUnsigned(short&nbsp;value)</pre>
<div class="block">Writes an unsigned byte into the ByteBuffer</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - the short to write</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putUnsigned-int-short-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putUnsigned</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putUnsigned(int&nbsp;index,
short&nbsp;value)</pre>
<div class="block">Writes an unsigned byte into the ByteBuffer at a specified position</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the position in the buffer to write the value</dd>
<dd><code>value</code> - the short to write</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putUnsigned-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putUnsigned</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putUnsigned(int&nbsp;value)</pre>
<div class="block">Writes an unsigned byte into the ByteBuffer</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - the int to write</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putUnsigned-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putUnsigned</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putUnsigned(int&nbsp;index,
int&nbsp;value)</pre>
<div class="block">Writes an unsigned byte into the ByteBuffer at a specified position</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the position in the buffer to write the value</dd>
<dd><code>value</code> - the int to write</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putUnsigned-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putUnsigned</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putUnsigned(long&nbsp;value)</pre>
<div class="block">Writes an unsigned byte into the ByteBuffer</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - the long to write</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putUnsigned-int-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putUnsigned</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putUnsigned(int&nbsp;index,
long&nbsp;value)</pre>
<div class="block">Writes an unsigned byte into the ByteBuffer at a specified position</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the position in the buffer to write the value</dd>
<dd><code>value</code> - the long to write</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putUnsignedInt-byte-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putUnsignedInt</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putUnsignedInt(byte&nbsp;value)</pre>
<div class="block">Writes an unsigned int into the ByteBuffer</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - the byte to write</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putUnsignedInt-int-byte-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putUnsignedInt</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putUnsignedInt(int&nbsp;index,
byte&nbsp;value)</pre>
<div class="block">Writes an unsigned int into the ByteBuffer at a specified position</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the position in the buffer to write the value</dd>
<dd><code>value</code> - the byte to write</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putUnsignedInt-short-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putUnsignedInt</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putUnsignedInt(short&nbsp;value)</pre>
<div class="block">Writes an unsigned int into the ByteBuffer</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - the short to write</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putUnsignedInt-int-short-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putUnsignedInt</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putUnsignedInt(int&nbsp;index,
short&nbsp;value)</pre>
<div class="block">Writes an unsigned int into the ByteBuffer at a specified position</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the position in the buffer to write the value</dd>
<dd><code>value</code> - the short to write</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putUnsignedInt-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putUnsignedInt</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putUnsignedInt(int&nbsp;value)</pre>
<div class="block">Writes an unsigned int into the ByteBuffer</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - the int to write</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putUnsignedInt-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putUnsignedInt</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putUnsignedInt(int&nbsp;index,
int&nbsp;value)</pre>
<div class="block">Writes an unsigned int into the ByteBuffer at a specified position</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the position in the buffer to write the value</dd>
<dd><code>value</code> - the int to write</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putUnsignedInt-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putUnsignedInt</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putUnsignedInt(long&nbsp;value)</pre>
<div class="block">Writes an unsigned int into the ByteBuffer</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - the long to write</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putUnsignedInt-int-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putUnsignedInt</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putUnsignedInt(int&nbsp;index,
long&nbsp;value)</pre>
<div class="block">Writes an unsigned int into the ByteBuffer at a specified position</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the position in the buffer to write the value</dd>
<dd><code>value</code> - the long to write</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putUnsignedShort-byte-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putUnsignedShort</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putUnsignedShort(byte&nbsp;value)</pre>
<div class="block">Writes an unsigned short into the ByteBuffer</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - the byte to write</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putUnsignedShort-int-byte-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putUnsignedShort</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putUnsignedShort(int&nbsp;index,
byte&nbsp;value)</pre>
<div class="block">Writes an unsigned Short into the ByteBuffer at a specified position</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the position in the buffer to write the value</dd>
<dd><code>value</code> - the byte to write</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putUnsignedShort-short-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putUnsignedShort</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putUnsignedShort(short&nbsp;value)</pre>
<div class="block">Writes an unsigned Short into the ByteBuffer</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - the short to write</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putUnsignedShort-int-short-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putUnsignedShort</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putUnsignedShort(int&nbsp;index,
short&nbsp;value)</pre>
<div class="block">Writes an unsigned Short into the ByteBuffer at a specified position</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the position in the buffer to write the unsigned short</dd>
<dd><code>value</code> - the unsigned short to write</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putUnsignedShort-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putUnsignedShort</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putUnsignedShort(int&nbsp;value)</pre>
<div class="block">Writes an unsigned Short into the ByteBuffer</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - the int to write</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putUnsignedShort-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putUnsignedShort</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putUnsignedShort(int&nbsp;index,
int&nbsp;value)</pre>
<div class="block">Writes an unsigned Short into the ByteBuffer at a specified position</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the position in the buffer to write the value</dd>
<dd><code>value</code> - the int to write</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putUnsignedShort-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putUnsignedShort</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putUnsignedShort(long&nbsp;value)</pre>
<div class="block">Writes an unsigned Short into the ByteBuffer</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - the long to write</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putUnsignedShort-int-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putUnsignedShort</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putUnsignedShort(int&nbsp;index,
long&nbsp;value)</pre>
<div class="block">Writes an unsigned Short into the ByteBuffer at a specified position</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the position in the buffer to write the short</dd>
<dd><code>value</code> - the long to write</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="getInt-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInt</h4>
<pre>public abstract&nbsp;int&nbsp;getInt(int&nbsp;index)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The index in the IoBuffer where we will read an int from</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the int at the given position</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#getInt-int-" title="class or interface in java.nio"><code>ByteBuffer.getInt(int)</code></a></dd>
</dl>
</li>
</ul>
<a name="getUnsignedInt-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUnsignedInt</h4>
<pre>public abstract&nbsp;long&nbsp;getUnsignedInt(int&nbsp;index)</pre>
<div class="block">Reads four bytes unsigned integer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The index in the IoBuffer where we will read an unsigned int from</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The long at the given position</dd>
</dl>
</li>
</ul>
<a name="putInt-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putInt</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putInt(int&nbsp;index,
int&nbsp;value)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The position where to put the int</dd>
<dd><code>value</code> - The int to put in the IoBuffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#putInt-int-int-" title="class or interface in java.nio"><code>ByteBuffer.putInt(int, int)</code></a></dd>
</dl>
</li>
</ul>
<a name="asIntBuffer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asIntBuffer</h4>
<pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/IntBuffer.html?is-external=true" title="class or interface in java.nio">IntBuffer</a>&nbsp;asIntBuffer()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#asIntBuffer--" title="class or interface in java.nio"><code>ByteBuffer.asIntBuffer()</code></a></dd>
</dl>
</li>
</ul>
<a name="getLong--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLong</h4>
<pre>public abstract&nbsp;long&nbsp;getLong()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The long at the current position</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#getLong--" title="class or interface in java.nio"><code>ByteBuffer.getLong()</code></a></dd>
</dl>
</li>
</ul>
<a name="putLong-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putLong</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putLong(long&nbsp;value)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - The log to put in the IoBuffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#putLong-int-long-" title="class or interface in java.nio"><code>ByteBuffer.putLong(int, long)</code></a></dd>
</dl>
</li>
</ul>
<a name="getLong-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLong</h4>
<pre>public abstract&nbsp;long&nbsp;getLong(int&nbsp;index)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The index in the IoBuffer where we will read a long from</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the long at the given position</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#getLong-int-" title="class or interface in java.nio"><code>ByteBuffer.getLong(int)</code></a></dd>
</dl>
</li>
</ul>
<a name="putLong-int-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putLong</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putLong(int&nbsp;index,
long&nbsp;value)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The position where to put the long</dd>
<dd><code>value</code> - The long to put in the IoBuffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#putLong-int-long-" title="class or interface in java.nio"><code>ByteBuffer.putLong(int, long)</code></a></dd>
</dl>
</li>
</ul>
<a name="asLongBuffer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asLongBuffer</h4>
<pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/LongBuffer.html?is-external=true" title="class or interface in java.nio">LongBuffer</a>&nbsp;asLongBuffer()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a LongBuffer from this IoBffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#asLongBuffer--" title="class or interface in java.nio"><code>ByteBuffer.asLongBuffer()</code></a></dd>
</dl>
</li>
</ul>
<a name="getFloat--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFloat</h4>
<pre>public abstract&nbsp;float&nbsp;getFloat()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the float at the current position</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#getFloat--" title="class or interface in java.nio"><code>ByteBuffer.getFloat()</code></a></dd>
</dl>
</li>
</ul>
<a name="putFloat-float-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putFloat</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putFloat(float&nbsp;value)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - The float to put in the IoBuffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#putFloat-float-" title="class or interface in java.nio"><code>ByteBuffer.putFloat(float)</code></a></dd>
</dl>
</li>
</ul>
<a name="getFloat-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFloat</h4>
<pre>public abstract&nbsp;float&nbsp;getFloat(int&nbsp;index)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The index in the IoBuffer where we will read a float from</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The float at the given position</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#getFloat-int-" title="class or interface in java.nio"><code>ByteBuffer.getFloat(int)</code></a></dd>
</dl>
</li>
</ul>
<a name="putFloat-int-float-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putFloat</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putFloat(int&nbsp;index,
float&nbsp;value)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The position where to put the float</dd>
<dd><code>value</code> - The float to put in the IoBuffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#putFloat-int-float-" title="class or interface in java.nio"><code>ByteBuffer.putFloat(int, float)</code></a></dd>
</dl>
</li>
</ul>
<a name="asFloatBuffer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asFloatBuffer</h4>
<pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/FloatBuffer.html?is-external=true" title="class or interface in java.nio">FloatBuffer</a>&nbsp;asFloatBuffer()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A FloatBuffer from this IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#asFloatBuffer--" title="class or interface in java.nio"><code>ByteBuffer.asFloatBuffer()</code></a></dd>
</dl>
</li>
</ul>
<a name="getDouble--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDouble</h4>
<pre>public abstract&nbsp;double&nbsp;getDouble()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the double at the current position</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#getDouble--" title="class or interface in java.nio"><code>ByteBuffer.getDouble()</code></a></dd>
</dl>
</li>
</ul>
<a name="putDouble-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putDouble</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putDouble(double&nbsp;value)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - The double to put at the IoBuffer current position</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#putDouble-double-" title="class or interface in java.nio"><code>ByteBuffer.putDouble(double)</code></a></dd>
</dl>
</li>
</ul>
<a name="getDouble-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDouble</h4>
<pre>public abstract&nbsp;double&nbsp;getDouble(int&nbsp;index)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The position where to get the double from</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The double at the given position</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#getDouble-int-" title="class or interface in java.nio"><code>ByteBuffer.getDouble(int)</code></a></dd>
</dl>
</li>
</ul>
<a name="putDouble-int-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putDouble</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putDouble(int&nbsp;index,
double&nbsp;value)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The position where to put the double</dd>
<dd><code>value</code> - The double to put in the IoBuffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#putDouble-int-double-" title="class or interface in java.nio"><code>ByteBuffer.putDouble(int, double)</code></a></dd>
</dl>
</li>
</ul>
<a name="asDoubleBuffer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asDoubleBuffer</h4>
<pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/DoubleBuffer.html?is-external=true" title="class or interface in java.nio">DoubleBuffer</a>&nbsp;asDoubleBuffer()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A buffer containing Double</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true#asDoubleBuffer--" title="class or interface in java.nio"><code>ByteBuffer.asDoubleBuffer()</code></a></dd>
</dl>
</li>
</ul>
<a name="asInputStream--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asInputStream</h4>
<pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;asInputStream()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> that reads the data from this buffer.
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true#read--" title="class or interface in java.io"><code>InputStream.read()</code></a> returns <tt>-1</tt> if the buffer position
reaches to the limit.</dd>
</dl>
</li>
</ul>
<a name="asOutputStream--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asOutputStream</h4>
<pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a>&nbsp;asOutputStream()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io"><code>OutputStream</code></a> that appends the data into this buffer.
Please note that the <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true#write-int-" title="class or interface in java.io"><code>OutputStream.write(int)</code></a> will throw a
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/BufferOverflowException.html?is-external=true" title="class or interface in java.nio"><code>BufferOverflowException</code></a> instead of an <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a> in case
of buffer overflow. Please set <tt>autoExpand</tt> property by calling
<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#setAutoExpand-boolean-"><code>setAutoExpand(boolean)</code></a> to prevent the unexpected runtime
exception.</dd>
</dl>
</li>
</ul>
<a name="getHexDump--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHexDump</h4>
<pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getHexDump()</pre>
<div class="block">Returns hexdump of this buffer. The data and pointer are not changed as a
result of this method call.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>hexidecimal representation of this buffer</dd>
</dl>
</li>
</ul>
<a name="getHexDump-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHexDump</h4>
<pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getHexDump(int&nbsp;lengthLimit)</pre>
<div class="block">Return hexdump of this buffer with limited length.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>lengthLimit</code> - The maximum number of bytes to dump from the current buffer
position.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>hexidecimal representation of this buffer</dd>
</dl>
</li>
</ul>
<a name="getString-java.nio.charset.CharsetDecoder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getString</h4>
<pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getString(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharsetDecoder.html?is-external=true" title="class or interface in java.nio.charset">CharsetDecoder</a>&nbsp;decoder)
throws <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharacterCodingException.html?is-external=true" title="class or interface in java.nio.charset">CharacterCodingException</a></pre>
<div class="block">Reads a <code>NUL</code>-terminated string from this buffer using the
specified <code>decoder</code> and returns it. This method reads until
the limit of this buffer if no <tt>NUL</tt> is found.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>decoder</code> - The <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharsetDecoder.html?is-external=true" title="class or interface in java.nio.charset"><code>CharsetDecoder</code></a> to use</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the read String</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharacterCodingException.html?is-external=true" title="class or interface in java.nio.charset">CharacterCodingException</a></code> - Thrown when an error occurred while decoding the buffer</dd>
</dl>
</li>
</ul>
<a name="getString-int-java.nio.charset.CharsetDecoder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getString</h4>
<pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getString(int&nbsp;fieldSize,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharsetDecoder.html?is-external=true" title="class or interface in java.nio.charset">CharsetDecoder</a>&nbsp;decoder)
throws <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharacterCodingException.html?is-external=true" title="class or interface in java.nio.charset">CharacterCodingException</a></pre>
<div class="block">Reads a <code>NUL</code>-terminated string from this buffer using the
specified <code>decoder</code> and returns it.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>fieldSize</code> - the maximum number of bytes to read</dd>
<dd><code>decoder</code> - The <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharsetDecoder.html?is-external=true" title="class or interface in java.nio.charset"><code>CharsetDecoder</code></a> to use</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the read String</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharacterCodingException.html?is-external=true" title="class or interface in java.nio.charset">CharacterCodingException</a></code> - Thrown when an error occurred while decoding the buffer</dd>
</dl>
</li>
</ul>
<a name="putString-java.lang.CharSequence-java.nio.charset.CharsetEncoder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putString</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putString(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;val,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharsetEncoder.html?is-external=true" title="class or interface in java.nio.charset">CharsetEncoder</a>&nbsp;encoder)
throws <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharacterCodingException.html?is-external=true" title="class or interface in java.nio.charset">CharacterCodingException</a></pre>
<div class="block">Writes the content of <code>in</code> into this buffer using the
specified <code>encoder</code>. This method doesn't terminate string with
<tt>NUL</tt>. You have to do it by yourself.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>val</code> - The CharSequence to put in the IoBuffer</dd>
<dd><code>encoder</code> - The CharsetEncoder to use</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The modified IoBuffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharacterCodingException.html?is-external=true" title="class or interface in java.nio.charset">CharacterCodingException</a></code> - When we have an error while decoding the String</dd>
</dl>
</li>
</ul>
<a name="putString-java.lang.CharSequence-int-java.nio.charset.CharsetEncoder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putString</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putString(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;val,
int&nbsp;fieldSize,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharsetEncoder.html?is-external=true" title="class or interface in java.nio.charset">CharsetEncoder</a>&nbsp;encoder)
throws <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharacterCodingException.html?is-external=true" title="class or interface in java.nio.charset">CharacterCodingException</a></pre>
<div class="block">Writes the content of <code>in</code> into this buffer as a
<code>NUL</code>-terminated string using the specified
<code>encoder</code>.
<p>
If the charset name of the encoder is UTF-16, you cannot specify odd
<code>fieldSize</code>, and this method will append two <code>NUL</code>s
as a terminator.
<p>
Please note that this method doesn't terminate with <code>NUL</code> if
the input string is longer than <tt>fieldSize</tt>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>val</code> - The CharSequence to put in the IoBuffer</dd>
<dd><code>fieldSize</code> - the maximum number of bytes to write</dd>
<dd><code>encoder</code> - The CharsetEncoder to use</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The modified IoBuffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharacterCodingException.html?is-external=true" title="class or interface in java.nio.charset">CharacterCodingException</a></code> - When we have an error while decoding the String</dd>
</dl>
</li>
</ul>
<a name="getPrefixedString-java.nio.charset.CharsetDecoder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPrefixedString</h4>
<pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getPrefixedString(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharsetDecoder.html?is-external=true" title="class or interface in java.nio.charset">CharsetDecoder</a>&nbsp;decoder)
throws <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharacterCodingException.html?is-external=true" title="class or interface in java.nio.charset">CharacterCodingException</a></pre>
<div class="block">Reads a string which has a 16-bit length field before the actual encoded
string, using the specified <code>decoder</code> and returns it. This
method is a shortcut for <tt>getPrefixedString(2, decoder)</tt>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>decoder</code> - The CharsetDecoder to use</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The read String</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharacterCodingException.html?is-external=true" title="class or interface in java.nio.charset">CharacterCodingException</a></code> - When we have an error while decoding the String</dd>
</dl>
</li>
</ul>
<a name="getPrefixedString-int-java.nio.charset.CharsetDecoder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPrefixedString</h4>
<pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getPrefixedString(int&nbsp;prefixLength,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharsetDecoder.html?is-external=true" title="class or interface in java.nio.charset">CharsetDecoder</a>&nbsp;decoder)
throws <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharacterCodingException.html?is-external=true" title="class or interface in java.nio.charset">CharacterCodingException</a></pre>
<div class="block">Reads a string which has a length field before the actual encoded string,
using the specified <code>decoder</code> and returns it.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>prefixLength</code> - the length of the length field (1, 2, or 4)</dd>
<dd><code>decoder</code> - The CharsetDecoder to use</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The read String</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharacterCodingException.html?is-external=true" title="class or interface in java.nio.charset">CharacterCodingException</a></code> - When we have an error while decoding the String</dd>
</dl>
</li>
</ul>
<a name="putPrefixedString-java.lang.CharSequence-java.nio.charset.CharsetEncoder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putPrefixedString</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putPrefixedString(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;in,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharsetEncoder.html?is-external=true" title="class or interface in java.nio.charset">CharsetEncoder</a>&nbsp;encoder)
throws <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharacterCodingException.html?is-external=true" title="class or interface in java.nio.charset">CharacterCodingException</a></pre>
<div class="block">Writes the content of <code>in</code> into this buffer as a string which
has a 16-bit length field before the actual encoded string, using the
specified <code>encoder</code>. This method is a shortcut for
<tt>putPrefixedString(in, 2, 0, encoder)</tt>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>in</code> - The CharSequence to put in the IoBuffer</dd>
<dd><code>encoder</code> - The CharsetEncoder to use</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The modified IoBuffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharacterCodingException.html?is-external=true" title="class or interface in java.nio.charset">CharacterCodingException</a></code> - When we have an error while decoding the CharSequence</dd>
</dl>
</li>
</ul>
<a name="putPrefixedString-java.lang.CharSequence-int-java.nio.charset.CharsetEncoder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putPrefixedString</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putPrefixedString(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;in,
int&nbsp;prefixLength,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharsetEncoder.html?is-external=true" title="class or interface in java.nio.charset">CharsetEncoder</a>&nbsp;encoder)
throws <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharacterCodingException.html?is-external=true" title="class or interface in java.nio.charset">CharacterCodingException</a></pre>
<div class="block">Writes the content of <code>in</code> into this buffer as a string which
has a 16-bit length field before the actual encoded string, using the
specified <code>encoder</code>. This method is a shortcut for
<tt>putPrefixedString(in, prefixLength, 0, encoder)</tt>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>in</code> - The CharSequence to put in the IoBuffer</dd>
<dd><code>prefixLength</code> - the length of the length field (1, 2, or 4)</dd>
<dd><code>encoder</code> - The CharsetEncoder to use</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The modified IoBuffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharacterCodingException.html?is-external=true" title="class or interface in java.nio.charset">CharacterCodingException</a></code> - When we have an error while decoding the CharSequence</dd>
</dl>
</li>
</ul>
<a name="putPrefixedString-java.lang.CharSequence-int-int-java.nio.charset.CharsetEncoder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putPrefixedString</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putPrefixedString(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;in,
int&nbsp;prefixLength,
int&nbsp;padding,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharsetEncoder.html?is-external=true" title="class or interface in java.nio.charset">CharsetEncoder</a>&nbsp;encoder)
throws <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharacterCodingException.html?is-external=true" title="class or interface in java.nio.charset">CharacterCodingException</a></pre>
<div class="block">Writes the content of <code>in</code> into this buffer as a string which
has a 16-bit length field before the actual encoded string, using the
specified <code>encoder</code>. This method is a shortcut for
<tt>putPrefixedString(in, prefixLength, padding, ( byte ) 0, encoder)</tt></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>in</code> - The CharSequence to put in the IoBuffer</dd>
<dd><code>prefixLength</code> - the length of the length field (1, 2, or 4)</dd>
<dd><code>padding</code> - the number of padded <tt>NUL</tt>s (1 (or 0), 2, or 4)</dd>
<dd><code>encoder</code> - The CharsetEncoder to use</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The modified IoBuffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharacterCodingException.html?is-external=true" title="class or interface in java.nio.charset">CharacterCodingException</a></code> - When we have an error while decoding the CharSequence</dd>
</dl>
</li>
</ul>
<a name="putPrefixedString-java.lang.CharSequence-int-int-byte-java.nio.charset.CharsetEncoder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putPrefixedString</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putPrefixedString(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;val,
int&nbsp;prefixLength,
int&nbsp;padding,
byte&nbsp;padValue,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharsetEncoder.html?is-external=true" title="class or interface in java.nio.charset">CharsetEncoder</a>&nbsp;encoder)
throws <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharacterCodingException.html?is-external=true" title="class or interface in java.nio.charset">CharacterCodingException</a></pre>
<div class="block">Writes the content of <code>val</code> into this buffer as a string which
has a 16-bit length field before the actual encoded string, using the
specified <code>encoder</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>val</code> - The CharSequence to put in teh IoBuffer</dd>
<dd><code>prefixLength</code> - the length of the length field (1, 2, or 4)</dd>
<dd><code>padding</code> - the number of padded bytes (1 (or 0), 2, or 4)</dd>
<dd><code>padValue</code> - the value of padded bytes</dd>
<dd><code>encoder</code> - The CharsetEncoder to use</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The modified IoBuffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/CharacterCodingException.html?is-external=true" title="class or interface in java.nio.charset">CharacterCodingException</a></code> - When we have an error while decoding the CharSequence</dd>
</dl>
</li>
</ul>
<a name="getObject--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getObject</h4>
<pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;getObject()
throws <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></pre>
<div class="block">Reads a Java object from the buffer using the context <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang"><code>ClassLoader</code></a>
of the current thread.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The read Object</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></code> - thrown when we can't find the Class to use</dd>
</dl>
</li>
</ul>
<a name="getObject-java.lang.ClassLoader-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getObject</h4>
<pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;getObject(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;classLoader)
throws <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></pre>
<div class="block">Reads a Java object from the buffer using the specified
<tt>classLoader</tt>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>classLoader</code> - The classLoader to use to read an Object from the IoBuffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The read Object</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></code> - thrown when we can't find the Class to use</dd>
</dl>
</li>
</ul>
<a name="putObject-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putObject</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putObject(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</pre>
<div class="block">Writes the specified Java object to the buffer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>o</code> - The Object to write in the IoBuffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="prefixedDataAvailable-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>prefixedDataAvailable</h4>
<pre>public abstract&nbsp;boolean&nbsp;prefixedDataAvailable(int&nbsp;prefixLength)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>prefixLength</code> - the length of the prefix field (1, 2, or 4)</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> if this buffer contains a data which has a data
length as a prefix and the buffer has remaining data as enough as
specified in the data length field. This method is identical with
<tt>prefixedDataAvailable( prefixLength, Integer.MAX_VALUE )</tt>. Please
not that using this method can allow DoS (Denial of Service) attack in
case the remote peer sends too big data length value. It is recommended
to use <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#prefixedDataAvailable-int-int-"><code>prefixedDataAvailable(int, int)</code></a> instead.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if prefixLength is wrong</dd>
<dd><code><a href="../../../../../org/apache/mina/core/buffer/BufferDataException.html" title="class in org.apache.mina.core.buffer">BufferDataException</a></code> - if data length is negative</dd>
</dl>
</li>
</ul>
<a name="prefixedDataAvailable-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>prefixedDataAvailable</h4>
<pre>public abstract&nbsp;boolean&nbsp;prefixedDataAvailable(int&nbsp;prefixLength,
int&nbsp;maxDataLength)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>prefixLength</code> - the length of the prefix field (1, 2, or 4)</dd>
<dd><code>maxDataLength</code> - the allowed maximum of the read data length</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> if this buffer contains a data which has a data
length as a prefix and the buffer has remaining data as enough as
specified in the data length field.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if prefixLength is wrong</dd>
<dd><code><a href="../../../../../org/apache/mina/core/buffer/BufferDataException.html" title="class in org.apache.mina.core.buffer">BufferDataException</a></code> - if data length is negative or greater then
<tt>maxDataLength</tt></dd>
</dl>
</li>
</ul>
<a name="indexOf-byte-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public abstract&nbsp;int&nbsp;indexOf(byte&nbsp;b)</pre>
<div class="block">Returns the first occurrence position of the specified byte from the
current position to the current limit.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>b</code> - The byte we are looking for</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>-1</tt> if the specified byte is not found</dd>
</dl>
</li>
</ul>
<a name="skip-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>skip</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;skip(int&nbsp;size)</pre>
<div class="block">Forwards the position of this buffer as the specified <code>size</code>
bytes.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>size</code> - The added size</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="fill-byte-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fill</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;fill(byte&nbsp;value,
int&nbsp;size)</pre>
<div class="block">Fills this buffer with the specified value. This method moves buffer
position forward.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - The value to fill the IoBuffer with</dd>
<dd><code>size</code> - The added size</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="fillAndReset-byte-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fillAndReset</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;fillAndReset(byte&nbsp;value,
int&nbsp;size)</pre>
<div class="block">Fills this buffer with the specified value. This method does not change
buffer position.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - The value to fill the IoBuffer with</dd>
<dd><code>size</code> - The added size</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="fill-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fill</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;fill(int&nbsp;size)</pre>
<div class="block">Fills this buffer with <code>NUL (0x00)</code>. This method moves buffer
position forward.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>size</code> - The added size</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="fillAndReset-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fillAndReset</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;fillAndReset(int&nbsp;size)</pre>
<div class="block">Fills this buffer with <code>NUL (0x00)</code>. This method does not
change buffer position.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>size</code> - The added size</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="getEnum-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEnum</h4>
<pre>public abstract&nbsp;&lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;&nbsp;E&nbsp;getEnum(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</pre>
<div class="block">Reads a byte from the buffer and returns the correlating enum constant
defined by the specified enum type.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>E</code> - The enum type to return</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>enumClass</code> - The enum's class object</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The correlated enum constant</dd>
</dl>
</li>
</ul>
<a name="getEnum-int-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEnum</h4>
<pre>public abstract&nbsp;&lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;&nbsp;E&nbsp;getEnum(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</pre>
<div class="block">Reads a byte from the buffer and returns the correlating enum constant
defined by the specified enum type.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>E</code> - The enum type to return</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the index from which the byte will be read</dd>
<dd><code>enumClass</code> - The enum's class object</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The correlated enum constant</dd>
</dl>
</li>
</ul>
<a name="getEnumShort-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEnumShort</h4>
<pre>public abstract&nbsp;&lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;&nbsp;E&nbsp;getEnumShort(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</pre>
<div class="block">Reads a short from the buffer and returns the correlating enum constant
defined by the specified enum type.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>E</code> - The enum type to return</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>enumClass</code> - The enum's class object</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The correlated enum constant</dd>
</dl>
</li>
</ul>
<a name="getEnumShort-int-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEnumShort</h4>
<pre>public abstract&nbsp;&lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;&nbsp;E&nbsp;getEnumShort(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</pre>
<div class="block">Reads a short from the buffer and returns the correlating enum constant
defined by the specified enum type.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>E</code> - The enum type to return</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the index from which the bytes will be read</dd>
<dd><code>enumClass</code> - The enum's class object</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The correlated enum constant</dd>
</dl>
</li>
</ul>
<a name="getEnumInt-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEnumInt</h4>
<pre>public abstract&nbsp;&lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;&nbsp;E&nbsp;getEnumInt(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</pre>
<div class="block">Reads an int from the buffer and returns the correlating enum constant
defined by the specified enum type.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>E</code> - The enum type to return</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>enumClass</code> - The enum's class object</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The correlated enum constant</dd>
</dl>
</li>
</ul>
<a name="getEnumInt-int-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEnumInt</h4>
<pre>public abstract&nbsp;&lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;&nbsp;E&nbsp;getEnumInt(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</pre>
<div class="block">Reads an int from the buffer and returns the correlating enum constant
defined by the specified enum type.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>E</code> - The enum type to return</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the index from which the bytes will be read</dd>
<dd><code>enumClass</code> - The enum's class object</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The correlated enum constant</dd>
</dl>
</li>
</ul>
<a name="putEnum-java.lang.Enum-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putEnum</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putEnum(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;?&gt;&nbsp;e)</pre>
<div class="block">Writes an enum's ordinal value to the buffer as a byte.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>e</code> - The enum to write to the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putEnum-int-java.lang.Enum-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putEnum</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putEnum(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;?&gt;&nbsp;e)</pre>
<div class="block">Writes an enum's ordinal value to the buffer as a byte.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The index at which the byte will be written</dd>
<dd><code>e</code> - The enum to write to the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putEnumShort-java.lang.Enum-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putEnumShort</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putEnumShort(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;?&gt;&nbsp;e)</pre>
<div class="block">Writes an enum's ordinal value to the buffer as a short.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>e</code> - The enum to write to the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putEnumShort-int-java.lang.Enum-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putEnumShort</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putEnumShort(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;?&gt;&nbsp;e)</pre>
<div class="block">Writes an enum's ordinal value to the buffer as a short.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The index at which the bytes will be written</dd>
<dd><code>e</code> - The enum to write to the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putEnumInt-java.lang.Enum-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putEnumInt</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putEnumInt(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;?&gt;&nbsp;e)</pre>
<div class="block">Writes an enum's ordinal value to the buffer as an integer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>e</code> - The enum to write to the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putEnumInt-int-java.lang.Enum-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putEnumInt</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putEnumInt(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;?&gt;&nbsp;e)</pre>
<div class="block">Writes an enum's ordinal value to the buffer as an integer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The index at which the bytes will be written</dd>
<dd><code>e</code> - The enum to write to the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="getEnumSet-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEnumSet</h4>
<pre>public abstract&nbsp;&lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;&nbsp;<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;&nbsp;getEnumSet(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</pre>
<div class="block">Reads a byte sized bit vector and converts it to an <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util"><code>EnumSet</code></a>.
<p>
Each bit is mapped to a value in the specified enum. The least
significant bit maps to the first entry in the specified enum and each
subsequent bit maps to each subsequent bit as mapped to the subsequent
enum value.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>E</code> - the enum type</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>enumClass</code> - the enum class used to create the EnumSet</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the EnumSet representation of the bit vector</dd>
</dl>
</li>
</ul>
<a name="getEnumSet-int-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEnumSet</h4>
<pre>public abstract&nbsp;&lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;&nbsp;<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;&nbsp;getEnumSet(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</pre>
<div class="block">Reads a byte sized bit vector and converts it to an <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util"><code>EnumSet</code></a>.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>E</code> - the enum type</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the index from which the byte will be read</dd>
<dd><code>enumClass</code> - the enum class used to create the EnumSet</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the EnumSet representation of the bit vector</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getEnumSet-java.lang.Class-"><code>getEnumSet(Class)</code></a></dd>
</dl>
</li>
</ul>
<a name="getEnumSetShort-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEnumSetShort</h4>
<pre>public abstract&nbsp;&lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;&nbsp;<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;&nbsp;getEnumSetShort(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</pre>
<div class="block">Reads a short sized bit vector and converts it to an <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util"><code>EnumSet</code></a>.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>E</code> - the enum type</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>enumClass</code> - the enum class used to create the EnumSet</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the EnumSet representation of the bit vector</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getEnumSet-java.lang.Class-"><code>getEnumSet(Class)</code></a></dd>
</dl>
</li>
</ul>
<a name="getEnumSetShort-int-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEnumSetShort</h4>
<pre>public abstract&nbsp;&lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;&nbsp;<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;&nbsp;getEnumSetShort(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</pre>
<div class="block">Reads a short sized bit vector and converts it to an <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util"><code>EnumSet</code></a>.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>E</code> - the enum type</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the index from which the bytes will be read</dd>
<dd><code>enumClass</code> - the enum class used to create the EnumSet</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the EnumSet representation of the bit vector</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getEnumSet-java.lang.Class-"><code>getEnumSet(Class)</code></a></dd>
</dl>
</li>
</ul>
<a name="getEnumSetInt-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEnumSetInt</h4>
<pre>public abstract&nbsp;&lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;&nbsp;<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;&nbsp;getEnumSetInt(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</pre>
<div class="block">Reads an int sized bit vector and converts it to an <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util"><code>EnumSet</code></a>.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>E</code> - the enum type</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>enumClass</code> - the enum class used to create the EnumSet</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the EnumSet representation of the bit vector</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getEnumSet-java.lang.Class-"><code>getEnumSet(Class)</code></a></dd>
</dl>
</li>
</ul>
<a name="getEnumSetInt-int-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEnumSetInt</h4>
<pre>public abstract&nbsp;&lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;&nbsp;<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;&nbsp;getEnumSetInt(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</pre>
<div class="block">Reads an int sized bit vector and converts it to an <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util"><code>EnumSet</code></a>.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>E</code> - the enum type</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the index from which the bytes will be read</dd>
<dd><code>enumClass</code> - the enum class used to create the EnumSet</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the EnumSet representation of the bit vector</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getEnumSet-java.lang.Class-"><code>getEnumSet(Class)</code></a></dd>
</dl>
</li>
</ul>
<a name="getEnumSetLong-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEnumSetLong</h4>
<pre>public abstract&nbsp;&lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;&nbsp;<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;&nbsp;getEnumSetLong(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</pre>
<div class="block">Reads a long sized bit vector and converts it to an <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util"><code>EnumSet</code></a>.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>E</code> - the enum type</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>enumClass</code> - the enum class used to create the EnumSet</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the EnumSet representation of the bit vector</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getEnumSet-java.lang.Class-"><code>getEnumSet(Class)</code></a></dd>
</dl>
</li>
</ul>
<a name="getEnumSetLong-int-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEnumSetLong</h4>
<pre>public abstract&nbsp;&lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;&nbsp;<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;&nbsp;getEnumSetLong(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;E&gt;&nbsp;enumClass)</pre>
<div class="block">Reads a long sized bit vector and converts it to an <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util"><code>EnumSet</code></a>.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>E</code> - the enum type</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the index from which the bytes will be read</dd>
<dd><code>enumClass</code> - the enum class used to create the EnumSet</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the EnumSet representation of the bit vector</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#getEnumSet-java.lang.Class-"><code>getEnumSet(Class)</code></a></dd>
</dl>
</li>
</ul>
<a name="putEnumSet-java.util.Set-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putEnumSet</h4>
<pre>public abstract&nbsp;&lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putEnumSet(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;&nbsp;set)</pre>
<div class="block">Writes the specified <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util"><code>Set</code></a> to the buffer as a byte sized bit
vector.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>E</code> - the enum type of the Set</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>set</code> - the enum set to write to the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putEnumSet-int-java.util.Set-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putEnumSet</h4>
<pre>public abstract&nbsp;&lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putEnumSet(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;&nbsp;set)</pre>
<div class="block">Writes the specified <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util"><code>Set</code></a> to the buffer as a byte sized bit
vector.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>E</code> - the enum type of the Set</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the index at which the byte will be written</dd>
<dd><code>set</code> - the enum set to write to the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putEnumSetShort-java.util.Set-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putEnumSetShort</h4>
<pre>public abstract&nbsp;&lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putEnumSetShort(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;&nbsp;set)</pre>
<div class="block">Writes the specified <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util"><code>Set</code></a> to the buffer as a short sized bit
vector.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>E</code> - the enum type of the Set</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>set</code> - the enum set to write to the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putEnumSetShort-int-java.util.Set-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putEnumSetShort</h4>
<pre>public abstract&nbsp;&lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putEnumSetShort(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;&nbsp;set)</pre>
<div class="block">Writes the specified <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util"><code>Set</code></a> to the buffer as a short sized bit
vector.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>E</code> - the enum type of the Set</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the index at which the bytes will be written</dd>
<dd><code>set</code> - the enum set to write to the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putEnumSetInt-java.util.Set-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putEnumSetInt</h4>
<pre>public abstract&nbsp;&lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putEnumSetInt(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;&nbsp;set)</pre>
<div class="block">Writes the specified <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util"><code>Set</code></a> to the buffer as an int sized bit
vector.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>E</code> - the enum type of the Set</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>set</code> - the enum set to write to the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putEnumSetInt-int-java.util.Set-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putEnumSetInt</h4>
<pre>public abstract&nbsp;&lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putEnumSetInt(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;&nbsp;set)</pre>
<div class="block">Writes the specified <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util"><code>Set</code></a> to the buffer as an int sized bit
vector.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>E</code> - the enum type of the Set</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the index at which the bytes will be written</dd>
<dd><code>set</code> - the enum set to write to the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putEnumSetLong-java.util.Set-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putEnumSetLong</h4>
<pre>public abstract&nbsp;&lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putEnumSetLong(<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;&nbsp;set)</pre>
<div class="block">Writes the specified <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util"><code>Set</code></a> to the buffer as a long sized bit
vector.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>E</code> - the enum type of the Set</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>set</code> - the enum set to write to the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
<a name="putEnumSetLong-int-java.util.Set-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>putEnumSetLong</h4>
<pre>public abstract&nbsp;&lt;E extends <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;E&gt;&gt;&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a>&nbsp;putEnumSetLong(int&nbsp;index,
<a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;E&gt;&nbsp;set)</pre>
<div class="block">Writes the specified <a href="https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util"><code>Set</code></a> to the buffer as a long sized bit
vector.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>E</code> - the enum type of the Set</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the index at which the bytes will be written</dd>
<dd><code>set</code> - the enum set to write to the buffer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified IoBuffer</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/IoBuffer.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/mina/core/buffer/CachedBufferAllocator.html" title="class in org.apache.mina.core.buffer"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/mina/core/buffer/IoBufferAllocator.html" title="interface in org.apache.mina.core.buffer"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/mina/core/buffer/IoBuffer.html" target="_top">Frames</a></li>
<li><a href="IoBuffer.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2004&#x2013;2019 <a href="http://mina.apache.org/">Apache MINA Project</a>. All rights reserved.</small></p>
</body>
</html>