blob: bbea25f9f81b98b30a7e058c02d34e75eb2f6b5a [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 Sat Mar 16 19:48:09 CET 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>IoBuffer (Apache MINA 2.0.0-M4 API Documentation)</title>
<meta name="date" content="2019-03-16">
<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.0-M4 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":9,"i145":6,"i146":6,"i147":9,"i148":6,"i149":6,"i150":6,"i151":6,"i152":6,"i153":9,"i154":9,"i155":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><a href="#field.summary">Field</a>&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><a href="#field.detail">Field</a>&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>java.lang.Object</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>java.lang.Comparable&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 java.lang.Object
implements java.lang.Comparable&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 <code>ByteBuffer</code>. Please refer to
<code>ByteBuffer</code> documentation for preliminary usage. MINA does
not use NIO <code>ByteBuffer</code> 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>
</p>
<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>
</p>
<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. <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer"><code>IoBuffer</code></a> introduces
<tt>autoExpand</tt> property. If <tt>autoExpand</tt> property is true, you
never get <code>BufferOverflowException</code> or
<code>IndexOutOfBoundsException</code> (except when index is negative).
It automatically expands its capacity and limit value. For example:
<pre>
String greeting = messageBundle.getMessage( "hello" );
IoBuffer buf = IoBuffer.allocate( 16 );
// Turn on autoExpand (it is off by default)
buf.setAutoExpand( true );
buf.putString( greeting, utf8encoder );
</pre>
The underlying <code>ByteBuffer</code> 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.
</p>
<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 <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 <code>ByteBuffer</code> 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, and therefore <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#buf--"><code>buf()</code></a> will return a different
<code>ByteBuffer</code> instance once capacity changes. Please also note
<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#compact--"><code>compact()</code></a> or <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#shrink--"><code>shrink()</code></a> 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
<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>.
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 both auto-expandable neither 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 <code>IllegalStateException</code>.
</p>
<h2>Changing Buffer Allocation Policy</h2>
<p>
<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>.
</p></div>
<dl>
<dt><span class="simpleTagLabel">Version:</span></dt>
<dd>$Rev: 671827 $, $Date: 2008-06-26 10:49:48 +0200 (Thu, 26 Jun 2008) $</dd>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>The Apache MINA Project (dev@mina.apache.org)</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr 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#EMPTY_BUFFER">EMPTY_BUFFER</a></span></code>
<div class="block">An immutable empty buffer.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== 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;direct)</code>
<div class="block">Returns the buffer which is capable of the specified size.</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 java.nio.CharBuffer</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 java.nio.DoubleBuffer</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 java.nio.FloatBuffer</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 java.io.InputStream</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#asInputStream--">asInputStream</a></span>()</code>
<div class="block">Returns an <code>InputStream</code> that reads the data from this buffer.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>abstract java.nio.IntBuffer</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 java.nio.LongBuffer</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 java.io.OutputStream</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#asOutputStream--">asOutputStream</a></span>()</code>
<div class="block">Returns an <code>OutputStream</code> that appends the data into this buffer.</div>
</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 java.nio.ShortBuffer</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 java.nio.ByteBuffer</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#buf--">buf</a></span>()</code>
<div class="block">Returns the underlying NIO buffer instance.</div>
</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>
<div class="block">Returns the allocator used by existing and new buffers</div>
</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 java.lang.Enum&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>(java.lang.Class&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 java.lang.Enum&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,
java.lang.Class&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 java.lang.Enum&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>(java.lang.Class&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 java.lang.Enum&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,
java.lang.Class&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 java.lang.Enum&lt;E&gt;&gt;<br>java.util.EnumSet&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>(java.lang.Class&lt;E&gt;&nbsp;enumClass)</code>
<div class="block">Reads a byte sized bit vector and converts it to an <code>EnumSet</code>.</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code>abstract &lt;E extends java.lang.Enum&lt;E&gt;&gt;<br>java.util.EnumSet&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,
java.lang.Class&lt;E&gt;&nbsp;enumClass)</code>
<div class="block">Reads a byte sized bit vector and converts it to an <code>EnumSet</code>.</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code>abstract &lt;E extends java.lang.Enum&lt;E&gt;&gt;<br>java.util.EnumSet&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>(java.lang.Class&lt;E&gt;&nbsp;enumClass)</code>
<div class="block">Reads an int sized bit vector and converts it to an <code>EnumSet</code>.</div>
</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code>abstract &lt;E extends java.lang.Enum&lt;E&gt;&gt;<br>java.util.EnumSet&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,
java.lang.Class&lt;E&gt;&nbsp;enumClass)</code>
<div class="block">Reads an int sized bit vector and converts it to an <code>EnumSet</code>.</div>
</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code>abstract &lt;E extends java.lang.Enum&lt;E&gt;&gt;<br>java.util.EnumSet&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>(java.lang.Class&lt;E&gt;&nbsp;enumClass)</code>
<div class="block">Reads a long sized bit vector and converts it to an <code>EnumSet</code>.</div>
</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code>abstract &lt;E extends java.lang.Enum&lt;E&gt;&gt;<br>java.util.EnumSet&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,
java.lang.Class&lt;E&gt;&nbsp;enumClass)</code>
<div class="block">Reads a long sized bit vector and converts it to an <code>EnumSet</code>.</div>
</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code>abstract &lt;E extends java.lang.Enum&lt;E&gt;&gt;<br>java.util.EnumSet&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>(java.lang.Class&lt;E&gt;&nbsp;enumClass)</code>
<div class="block">Reads a short sized bit vector and converts it to an <code>EnumSet</code>.</div>
</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code>abstract &lt;E extends java.lang.Enum&lt;E&gt;&gt;<br>java.util.EnumSet&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,
java.lang.Class&lt;E&gt;&nbsp;enumClass)</code>
<div class="block">Reads a short sized bit vector and converts it to an <code>EnumSet</code>.</div>
</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code>abstract &lt;E extends java.lang.Enum&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>(java.lang.Class&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 java.lang.Enum&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,
java.lang.Class&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 java.lang.String</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 java.lang.String</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 java.lang.Object</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 <code>ClassLoader</code>
of the current thread.</div>
</td>
</tr>
<tr id="i61" class="rowColor">
<td class="colFirst"><code>abstract java.lang.Object</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>(java.lang.ClassLoader&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 java.lang.String</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>(java.nio.charset.CharsetDecoder&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 java.lang.String</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,
java.nio.charset.CharsetDecoder&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">TODO document me.</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">TODO document me.</div>
</td>
</tr>
<tr id="i68" class="altColor">
<td class="colFirst"><code>abstract java.lang.String</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>(java.nio.charset.CharsetDecoder&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 java.lang.String</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,
java.nio.charset.CharsetDecoder&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 occurence 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>
<div class="block">Returns <tt>true</tt> if and only if <tt>autoExpand</tt> is turned on.</div>
</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>
<div class="block">Returns <tt>true</tt> if and only if <tt>autoShrink</tt> is turned on.</div>
</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>
<div class="block">returns <tt>true</tt> if and only if this buffer is derived from other buffer
via <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>.</div>
</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>
<div class="block">Returns <tt>true</tt> if and only if a direct buffer is allocated
by default when the type of the new buffer is not specified.</div>
</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>
<div class="block">Returns the position of the current mark.</div>
</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>
<div class="block">Returns 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="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 java.nio.ByteOrder</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>(java.nio.ByteOrder&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>
<div class="block">Returns <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.</div>
</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>
<div class="block">Returns <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.</div>
</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>(java.nio.ByteBuffer&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>(java.lang.Enum&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,
java.lang.Enum&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>(java.lang.Enum&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,
java.lang.Enum&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 java.lang.Enum&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,
java.util.Set&lt;E&gt;&nbsp;set)</code>
<div class="block">Writes the specified <code>Set</code> 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 java.lang.Enum&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>(java.util.Set&lt;E&gt;&nbsp;set)</code>
<div class="block">Writes the specified <code>Set</code> 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 java.lang.Enum&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,
java.util.Set&lt;E&gt;&nbsp;set)</code>
<div class="block">Writes the specified <code>Set</code> 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 java.lang.Enum&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>(java.util.Set&lt;E&gt;&nbsp;set)</code>
<div class="block">Writes the specified <code>Set</code> 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 java.lang.Enum&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,
java.util.Set&lt;E&gt;&nbsp;set)</code>
<div class="block">Writes the specified <code>Set</code> 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 java.lang.Enum&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>(java.util.Set&lt;E&gt;&nbsp;set)</code>
<div class="block">Writes the specified <code>Set</code> 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 java.lang.Enum&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,
java.util.Set&lt;E&gt;&nbsp;set)</code>
<div class="block">Writes the specified <code>Set</code> 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 java.lang.Enum&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>(java.util.Set&lt;E&gt;&nbsp;set)</code>
<div class="block">Writes the specified <code>Set</code> 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>(java.lang.Enum&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,
java.lang.Enum&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>(java.lang.Object&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>(java.lang.CharSequence&nbsp;in,
java.nio.charset.CharsetEncoder&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>(java.lang.CharSequence&nbsp;in,
int&nbsp;prefixLength,
java.nio.charset.CharsetEncoder&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>(java.lang.CharSequence&nbsp;val,
int&nbsp;prefixLength,
int&nbsp;padding,
byte&nbsp;padValue,
java.nio.charset.CharsetEncoder&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="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>(java.lang.CharSequence&nbsp;in,
int&nbsp;prefixLength,
int&nbsp;padding,
java.nio.charset.CharsetEncoder&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>(java.lang.CharSequence&nbsp;val,
java.nio.charset.CharsetEncoder&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>(java.lang.CharSequence&nbsp;val,
int&nbsp;fieldSize,
java.nio.charset.CharsetEncoder&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 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="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#reset--">reset</a></span>()</code>&nbsp;</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#rewind--">rewind</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i144" 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="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#setAutoExpand-boolean-">setAutoExpand</a></span>(boolean&nbsp;autoExpand)</code>
<div class="block">Turns on or off <tt>autoExpand</tt>.</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#setAutoShrink-boolean-">setAutoShrink</a></span>(boolean&nbsp;autoShrink)</code>
<div class="block">Turns on or off <tt>autoShrink</tt>.</div>
</td>
</tr>
<tr id="i147" 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="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#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="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#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="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#slice--">slice</a></span>()</code>&nbsp;</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#sweep--">sweep</a></span>()</code>
<div class="block">Clears this buffer and fills its content with <tt>NUL</tt>.</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#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="i153" 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 MINA heap buffer.</div>
</td>
</tr>
<tr id="i154" 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="i155" 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>(java.nio.ByteBuffer&nbsp;nioBuffer)</code>
<div class="block">Wraps the specified NIO <code>ByteBuffer</code> into MINA buffer.</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.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</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.Comparable</h3>
<code>compareTo</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="EMPTY_BUFFER">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>EMPTY_BUFFER</h4>
<pre>public static final&nbsp;<a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html" title="class in org.apache.mina.core.buffer">IoBuffer</a> EMPTY_BUFFER</pre>
<div class="block">An immutable empty buffer.</div>
</li>
</ul>
</li>
</ul>
<!-- ========= 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.</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>
<div class="block">Returns the allocator used by existing and new buffers</div>
</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>
</li>
</ul>
<a name="isUseDirectBuffer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isUseDirectBuffer</h4>
<pre>public static&nbsp;boolean&nbsp;isUseDirectBuffer()</pre>
<div class="block">Returns <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>.</div>
</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>
</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="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;direct)</pre>
<div class="block">Returns the buffer which is capable of the specified size.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>capacity</code> - the capacity of the buffer</dd>
<dd><code>direct</code> - <tt>true</tt> to get a direct buffer,
<tt>false</tt> to get a heap buffer.</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(java.nio.ByteBuffer&nbsp;nioBuffer)</pre>
<div class="block">Wraps the specified NIO <code>ByteBuffer</code> into MINA buffer.</div>
</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 MINA heap buffer.</div>
</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.</div>
</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 <code>Integer.MAX_VALUE</code>, it
returns <code>Integer.MAX_VALUE</code>. If it is zero, it returns zero.</div>
</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;java.nio.ByteBuffer&nbsp;buf()</pre>
<div class="block">Returns the underlying NIO buffer instance.</div>
</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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.isDirect()</code></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>
<div class="block">returns <tt>true</tt> if and only if this buffer is derived from other buffer
via <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>.</div>
</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="seeLabel">See Also:</span></dt>
<dd><code>Buffer.isReadOnly()</code></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>
<div class="block">Returns 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>
</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>
</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="seeLabel">See Also:</span></dt>
<dd><code>Buffer.capacity()</code></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 silently. 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.</div>
</li>
</ul>
<a name="isAutoExpand--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAutoExpand</h4>
<pre>public abstract&nbsp;boolean&nbsp;isAutoExpand()</pre>
<div class="block">Returns <tt>true</tt> if and only if <tt>autoExpand</tt> is turned on.</div>
</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>
</li>
</ul>
<a name="isAutoShrink--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAutoShrink</h4>
<pre>public abstract&nbsp;boolean&nbsp;isAutoShrink()</pre>
<div class="block">Returns <tt>true</tt> if and only if <tt>autoShrink</tt> is turned on.</div>
</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>
</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>.</div>
</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>.</div>
</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. The capacity of the
buffer never becomes less than <a href="../../../../../org/apache/mina/core/buffer/IoBuffer.html#minimumCapacity--"><code>minimumCapacity()</code></a>.
The mark is discarded once the capacity changes.</div>
</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="seeLabel">See Also:</span></dt>
<dd><code>Buffer.position()</code></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="seeLabel">See Also:</span></dt>
<dd><code>Buffer.position(int)</code></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="seeLabel">See Also:</span></dt>
<dd><code>Buffer.limit()</code></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="seeLabel">See Also:</span></dt>
<dd><code>Buffer.limit(int)</code></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="seeLabel">See Also:</span></dt>
<dd><code>Buffer.mark()</code></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>
<div class="block">Returns the position of the current mark. This method returns <tt>-1</tt> if no
mark is set.</div>
</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="seeLabel">See Also:</span></dt>
<dd><code>Buffer.reset()</code></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="seeLabel">See Also:</span></dt>
<dd><code>Buffer.clear()</code></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>
</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>
</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="seeLabel">See Also:</span></dt>
<dd><code>Buffer.flip()</code></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="seeLabel">See Also:</span></dt>
<dd><code>Buffer.rewind()</code></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="seeLabel">See Also:</span></dt>
<dd><code>Buffer.remaining()</code></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="seeLabel">See Also:</span></dt>
<dd><code>Buffer.hasRemaining()</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.duplicate()</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.slice()</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.asReadOnlyBuffer()</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.hasArray()</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.array()</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.arrayOffset()</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.get()</code></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>
</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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.put(byte)</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.get(int)</code></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>
</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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.put(int, byte)</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.get(byte[], int, int)</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.get(byte[])</code></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">TODO document me.</div>
</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">TODO document me.</div>
</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(java.nio.ByteBuffer&nbsp;src)</pre>
<div class="block">Writes the content of the specified <tt>src</tt> into this buffer.</div>
</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>
</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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.put(byte[], int, int)</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.put(byte[])</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.compact()</code></dd>
</dl>
</li>
</ul>
<a name="order--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>order</h4>
<pre>public abstract&nbsp;java.nio.ByteOrder&nbsp;order()</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.order()</code></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(java.nio.ByteOrder&nbsp;bo)</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.order(ByteOrder)</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.getChar()</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.putChar(char)</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.getChar(int)</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.putChar(int, char)</code></dd>
</dl>
</li>
</ul>
<a name="asCharBuffer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asCharBuffer</h4>
<pre>public abstract&nbsp;java.nio.CharBuffer&nbsp;asCharBuffer()</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.asCharBuffer()</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.getShort()</code></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>
</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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.putShort(short)</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.getShort()</code></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>
</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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.putShort(int, short)</code></dd>
</dl>
</li>
</ul>
<a name="asShortBuffer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asShortBuffer</h4>
<pre>public abstract&nbsp;java.nio.ShortBuffer&nbsp;asShortBuffer()</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.asShortBuffer()</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.getInt()</code></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>
</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.</p></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.</p></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.</p></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>java.lang.IndexOutOfBoundsException</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.</p></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>java.lang.IndexOutOfBoundsException</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.</p></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>This buffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.nio.BufferOverflowException</code> - If there are fewer than three bytes
remaining in this buffer</dd>
<dd><code>java.nio.ReadOnlyBufferException</code> - If this buffer is read-only</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.</p></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>This buffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IndexOutOfBoundsException</code> - If <tt>index</tt> is negative
or not smaller than the buffer's limit,
minus three</dd>
<dd><code>java.nio.ReadOnlyBufferException</code> - If this buffer is read-only</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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.putInt(int)</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.getInt(int)</code></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>
</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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.putInt(int, int)</code></dd>
</dl>
</li>
</ul>
<a name="asIntBuffer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asIntBuffer</h4>
<pre>public abstract&nbsp;java.nio.IntBuffer&nbsp;asIntBuffer()</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.asIntBuffer()</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.getLong()</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.putLong(int, long)</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.getLong(int)</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.putLong(int, long)</code></dd>
</dl>
</li>
</ul>
<a name="asLongBuffer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asLongBuffer</h4>
<pre>public abstract&nbsp;java.nio.LongBuffer&nbsp;asLongBuffer()</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.asLongBuffer()</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.getFloat()</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.putFloat(float)</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.getFloat(int)</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.putFloat(int, float)</code></dd>
</dl>
</li>
</ul>
<a name="asFloatBuffer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asFloatBuffer</h4>
<pre>public abstract&nbsp;java.nio.FloatBuffer&nbsp;asFloatBuffer()</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.asFloatBuffer()</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.getDouble()</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.putDouble(double)</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.getDouble(int)</code></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="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.putDouble(int, double)</code></dd>
</dl>
</li>
</ul>
<a name="asDoubleBuffer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asDoubleBuffer</h4>
<pre>public abstract&nbsp;java.nio.DoubleBuffer&nbsp;asDoubleBuffer()</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.asDoubleBuffer()</code></dd>
</dl>
</li>
</ul>
<a name="asInputStream--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asInputStream</h4>
<pre>public abstract&nbsp;java.io.InputStream&nbsp;asInputStream()</pre>
<div class="block">Returns an <code>InputStream</code> that reads the data from this buffer.
<code>InputStream.read()</code> returns <tt>-1</tt> if the buffer position
reaches to the limit.</div>
</li>
</ul>
<a name="asOutputStream--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asOutputStream</h4>
<pre>public abstract&nbsp;java.io.OutputStream&nbsp;asOutputStream()</pre>
<div class="block">Returns an <code>OutputStream</code> that appends the data into this buffer.
Please note that the <code>OutputStream.write(int)</code> will throw a
<code>BufferOverflowException</code> instead of an <code>IOException</code>
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.</div>
</li>
</ul>
<a name="getHexDump--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHexDump</h4>
<pre>public abstract&nbsp;java.lang.String&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;java.lang.String&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;java.lang.String&nbsp;getString(java.nio.charset.CharsetDecoder&nbsp;decoder)
throws java.nio.charset.CharacterCodingException</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="throwsLabel">Throws:</span></dt>
<dd><code>java.nio.charset.CharacterCodingException</code></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;java.lang.String&nbsp;getString(int&nbsp;fieldSize,
java.nio.charset.CharsetDecoder&nbsp;decoder)
throws java.nio.charset.CharacterCodingException</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>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.nio.charset.CharacterCodingException</code></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(java.lang.CharSequence&nbsp;val,
java.nio.charset.CharsetEncoder&nbsp;encoder)
throws java.nio.charset.CharacterCodingException</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="throwsLabel">Throws:</span></dt>
<dd><code>java.nio.BufferOverflowException</code> - if the specified string doesn't fit</dd>
<dd><code>java.nio.charset.CharacterCodingException</code></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(java.lang.CharSequence&nbsp;val,
int&nbsp;fieldSize,
java.nio.charset.CharsetEncoder&nbsp;encoder)
throws java.nio.charset.CharacterCodingException</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>fieldSize</code> - the maximum number of bytes to write</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.nio.charset.CharacterCodingException</code></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;java.lang.String&nbsp;getPrefixedString(java.nio.charset.CharsetDecoder&nbsp;decoder)
throws java.nio.charset.CharacterCodingException</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="throwsLabel">Throws:</span></dt>
<dd><code>java.nio.charset.CharacterCodingException</code></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;java.lang.String&nbsp;getPrefixedString(int&nbsp;prefixLength,
java.nio.charset.CharsetDecoder&nbsp;decoder)
throws java.nio.charset.CharacterCodingException</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>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.nio.charset.CharacterCodingException</code></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(java.lang.CharSequence&nbsp;in,
java.nio.charset.CharsetEncoder&nbsp;encoder)
throws java.nio.charset.CharacterCodingException</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="throwsLabel">Throws:</span></dt>
<dd><code>java.nio.BufferOverflowException</code> - if the specified string doesn't fit</dd>
<dd><code>java.nio.charset.CharacterCodingException</code></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(java.lang.CharSequence&nbsp;in,
int&nbsp;prefixLength,
java.nio.charset.CharsetEncoder&nbsp;encoder)
throws java.nio.charset.CharacterCodingException</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>prefixLength</code> - the length of the length field (1, 2, or 4)</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.nio.BufferOverflowException</code> - if the specified string doesn't fit</dd>
<dd><code>java.nio.charset.CharacterCodingException</code></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(java.lang.CharSequence&nbsp;in,
int&nbsp;prefixLength,
int&nbsp;padding,
java.nio.charset.CharsetEncoder&nbsp;encoder)
throws java.nio.charset.CharacterCodingException</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>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>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.nio.BufferOverflowException</code> - if the specified string doesn't fit</dd>
<dd><code>java.nio.charset.CharacterCodingException</code></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(java.lang.CharSequence&nbsp;val,
int&nbsp;prefixLength,
int&nbsp;padding,
byte&nbsp;padValue,
java.nio.charset.CharsetEncoder&nbsp;encoder)
throws java.nio.charset.CharacterCodingException</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>.</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>padding</code> - the number of padded bytes (1 (or 0), 2, or 4)</dd>
<dd><code>padValue</code> - the value of padded bytes</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.nio.BufferOverflowException</code> - if the specified string doesn't fit</dd>
<dd><code>java.nio.charset.CharacterCodingException</code></dd>
</dl>
</li>
</ul>
<a name="getObject--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getObject</h4>
<pre>public abstract&nbsp;java.lang.Object&nbsp;getObject()
throws java.lang.ClassNotFoundException</pre>
<div class="block">Reads a Java object from the buffer using the context <code>ClassLoader</code>
of the current thread.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.ClassNotFoundException</code></dd>
</dl>
</li>
</ul>
<a name="getObject-java.lang.ClassLoader-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getObject</h4>
<pre>public abstract&nbsp;java.lang.Object&nbsp;getObject(java.lang.ClassLoader&nbsp;classLoader)
throws java.lang.ClassNotFoundException</pre>
<div class="block">Reads a Java object from the buffer using the specified <tt>classLoader</tt>.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.ClassNotFoundException</code></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(java.lang.Object&nbsp;o)</pre>
<div class="block">Writes the specified Java object to the buffer.</div>
</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>
<div class="block">Returns <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.</div>
<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="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</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>
<div class="block">Returns <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.</div>
<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="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</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 occurence position of the specified byte from the current position to
the current limit.</div>
<dl>
<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>
</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>
</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>
</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>
</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>
</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 java.lang.Enum&lt;E&gt;&gt;&nbsp;E&nbsp;getEnum(java.lang.Class&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>
</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 java.lang.Enum&lt;E&gt;&gt;&nbsp;E&nbsp;getEnum(int&nbsp;index,
java.lang.Class&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>
</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 java.lang.Enum&lt;E&gt;&gt;&nbsp;E&nbsp;getEnumShort(java.lang.Class&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>
</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 java.lang.Enum&lt;E&gt;&gt;&nbsp;E&nbsp;getEnumShort(int&nbsp;index,
java.lang.Class&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>
</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 java.lang.Enum&lt;E&gt;&gt;&nbsp;E&nbsp;getEnumInt(java.lang.Class&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>
</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 java.lang.Enum&lt;E&gt;&gt;&nbsp;E&nbsp;getEnumInt(int&nbsp;index,
java.lang.Class&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>
</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(java.lang.Enum&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>
</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,
java.lang.Enum&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>
</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(java.lang.Enum&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>
</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,
java.lang.Enum&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>
</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(java.lang.Enum&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>
</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,
java.lang.Enum&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>
</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 java.lang.Enum&lt;E&gt;&gt;&nbsp;java.util.EnumSet&lt;E&gt;&nbsp;getEnumSet(java.lang.Class&lt;E&gt;&nbsp;enumClass)</pre>
<div class="block">Reads a byte sized bit vector and converts it to an <code>EnumSet</code>.
<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.</p></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 java.lang.Enum&lt;E&gt;&gt;&nbsp;java.util.EnumSet&lt;E&gt;&nbsp;getEnumSet(int&nbsp;index,
java.lang.Class&lt;E&gt;&nbsp;enumClass)</pre>
<div class="block">Reads a byte sized bit vector and converts it to an <code>EnumSet</code>.</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 java.lang.Enum&lt;E&gt;&gt;&nbsp;java.util.EnumSet&lt;E&gt;&nbsp;getEnumSetShort(java.lang.Class&lt;E&gt;&nbsp;enumClass)</pre>
<div class="block">Reads a short sized bit vector and converts it to an <code>EnumSet</code>.</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 java.lang.Enum&lt;E&gt;&gt;&nbsp;java.util.EnumSet&lt;E&gt;&nbsp;getEnumSetShort(int&nbsp;index,
java.lang.Class&lt;E&gt;&nbsp;enumClass)</pre>
<div class="block">Reads a short sized bit vector and converts it to an <code>EnumSet</code>.</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 java.lang.Enum&lt;E&gt;&gt;&nbsp;java.util.EnumSet&lt;E&gt;&nbsp;getEnumSetInt(java.lang.Class&lt;E&gt;&nbsp;enumClass)</pre>
<div class="block">Reads an int sized bit vector and converts it to an <code>EnumSet</code>.</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 java.lang.Enum&lt;E&gt;&gt;&nbsp;java.util.EnumSet&lt;E&gt;&nbsp;getEnumSetInt(int&nbsp;index,
java.lang.Class&lt;E&gt;&nbsp;enumClass)</pre>
<div class="block">Reads an int sized bit vector and converts it to an <code>EnumSet</code>.</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 java.lang.Enum&lt;E&gt;&gt;&nbsp;java.util.EnumSet&lt;E&gt;&nbsp;getEnumSetLong(java.lang.Class&lt;E&gt;&nbsp;enumClass)</pre>
<div class="block">Reads a long sized bit vector and converts it to an <code>EnumSet</code>.</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 java.lang.Enum&lt;E&gt;&gt;&nbsp;java.util.EnumSet&lt;E&gt;&nbsp;getEnumSetLong(int&nbsp;index,
java.lang.Class&lt;E&gt;&nbsp;enumClass)</pre>
<div class="block">Reads a long sized bit vector and converts it to an <code>EnumSet</code>.</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 java.lang.Enum&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(java.util.Set&lt;E&gt;&nbsp;set)</pre>
<div class="block">Writes the specified <code>Set</code> 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>
</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 java.lang.Enum&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,
java.util.Set&lt;E&gt;&nbsp;set)</pre>
<div class="block">Writes the specified <code>Set</code> 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>
</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 java.lang.Enum&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(java.util.Set&lt;E&gt;&nbsp;set)</pre>
<div class="block">Writes the specified <code>Set</code> 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>
</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 java.lang.Enum&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,
java.util.Set&lt;E&gt;&nbsp;set)</pre>
<div class="block">Writes the specified <code>Set</code> 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>
</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 java.lang.Enum&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(java.util.Set&lt;E&gt;&nbsp;set)</pre>
<div class="block">Writes the specified <code>Set</code> 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>
</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 java.lang.Enum&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,
java.util.Set&lt;E&gt;&nbsp;set)</pre>
<div class="block">Writes the specified <code>Set</code> 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>
</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 java.lang.Enum&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(java.util.Set&lt;E&gt;&nbsp;set)</pre>
<div class="block">Writes the specified <code>Set</code> 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>
</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 java.lang.Enum&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,
java.util.Set&lt;E&gt;&nbsp;set)</pre>
<div class="block">Writes the specified <code>Set</code> 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>
</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><a href="#field.summary">Field</a>&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><a href="#field.detail">Field</a>&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-2019 <a href="http://mina.apache.org/">Apache MINA Project</a>. All Rights Reserved.</small></p>
</body>
</html>