blob: d0097d990bbecda8f0a9e3ccb6ce2ba1982bccf6 [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 09:29:47 CET 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ByteBufferProxy (Apache MINA 1.0.8 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="ByteBufferProxy (Apache MINA 1.0.8 API Documentation)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":10,"i99":10,"i100":10,"i101":10,"i102":10,"i103":10,"i104":10,"i105":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= 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/ByteBufferProxy.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/common/ByteBufferAllocator.html" title="interface in org.apache.mina.common"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/mina/common/CloseFuture.html" title="interface in org.apache.mina.common"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/mina/common/ByteBufferProxy.html" target="_top">Frames</a></li>
<li><a href="ByteBufferProxy.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.common</div>
<h2 title="Class ByteBufferProxy" class="title">Class ByteBufferProxy</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">org.apache.mina.common.ByteBuffer</a></li>
<li>
<ul class="inheritance">
<li>org.apache.mina.common.ByteBufferProxy</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.lang.Comparable</dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">ByteBufferProxy</span>
extends <a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></pre>
<div class="block">A <a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common"><code>ByteBuffer</code></a> that wraps a buffer and proxies any operations to it.
<p>
You can think this class like a <code>FilterOutputStream</code>. All operations
are proxied by default so that you can extend this class and override existing
operations selectively. You can introduce new operations, too.</div>
<dl>
<dt><span class="simpleTagLabel">Version:</span></dt>
<dd>$Rev: 555855 $, $Date: 2007-07-13 05:19:00 +0200 (Fri, 13 Jul 2007) $</dd>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>The Apache Directory Project (mina-dev@directory.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>protected <a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#buf">buf</a></span></code>
<div class="block">The buffer proxied by this proxy.</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/common/ByteBufferProxy.html#ByteBufferProxy-org.apache.mina.common.ByteBuffer-">ByteBufferProxy</a></span>(<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;buf)</code>
<div class="block">Create 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="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#acquire--">acquire</a></span>()</code>
<div class="block">Increases the internal reference count of this buffer to defer
automatic release.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#array--">array</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#arrayOffset--">arrayOffset</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.nio.CharBuffer</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#asCharBuffer--">asCharBuffer</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.nio.DoubleBuffer</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#asDoubleBuffer--">asDoubleBuffer</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.nio.FloatBuffer</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#asFloatBuffer--">asFloatBuffer</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.io.InputStream</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.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="i7" class="rowColor">
<td class="colFirst"><code>java.nio.IntBuffer</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#asIntBuffer--">asIntBuffer</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>java.nio.LongBuffer</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#asLongBuffer--">asLongBuffer</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>java.io.OutputStream</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.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="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#asReadOnlyBuffer--">asReadOnlyBuffer</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>java.nio.ShortBuffer</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#asShortBuffer--">asShortBuffer</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>java.nio.ByteBuffer</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#buf--">buf</a></span>()</code>
<div class="block">Returns the underlying NIO buffer instance.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#capacity--">capacity</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#capacity-int-">capacity</a></span>(int&nbsp;newCapacity)</code>
<div class="block">Changes the capacity of this buffer.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#clear--">clear</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#compact--">compact</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#compareTo-java.lang.Object-">compareTo</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#duplicate--">duplicate</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;ob)</code>&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.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="i21" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#expand-int-int-">expand</a></span>(int&nbsp;pos,
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>pos</tt>.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.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="i23" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.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="i24" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.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="i25" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.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="i26" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#flip--">flip</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>byte</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#get--">get</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#get-byte:A-">get</a></span>(byte[]&nbsp;dst)</code>&nbsp;</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.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>byte</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#get-int-">get</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>char</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#getChar--">getChar</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>char</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#getChar-int-">getChar</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#getDouble--">getDouble</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#getDouble-int-">getDouble</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#getFloat--">getFloat</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#getFloat-int-">getFloat</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#getHexDump--">getHexDump</a></span>()</code>
<div class="block">Returns hexdump of this buffer.</div>
</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#getInt--">getInt</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#getInt-int-">getInt</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#getLong--">getLong</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#getLong-int-">getLong</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.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="i43" class="rowColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.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="i44" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.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="i45" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.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="i46" class="altColor">
<td class="colFirst"><code>short</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#getShort--">getShort</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code>short</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#getShort-int-">getShort</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.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="i49" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.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="i50" class="altColor">
<td class="colFirst"><code>short</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#getUnsigned--">getUnsigned</a></span>()</code>
<div class="block">Reads one unsigned byte as a short integer.</div>
</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code>short</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.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="i52" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#getUnsignedInt--">getUnsignedInt</a></span>()</code>
<div class="block">Reads four bytes unsigned integer.</div>
</td>
</tr>
<tr id="i53" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#getUnsignedInt-int-">getUnsignedInt</a></span>(int&nbsp;index)</code>
<div class="block">Reads four bytes unsigned integer.</div>
</td>
</tr>
<tr id="i54" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#getUnsignedShort--">getUnsignedShort</a></span>()</code>
<div class="block">Reads two bytes unsigned integer.</div>
</td>
</tr>
<tr id="i55" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#getUnsignedShort-int-">getUnsignedShort</a></span>(int&nbsp;index)</code>
<div class="block">Reads two bytes unsigned integer.</div>
</td>
</tr>
<tr id="i56" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i57" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#hasRemaining--">hasRemaining</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i58" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.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="i59" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#isDirect--">isDirect</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i60" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#isPooled--">isPooled</a></span>()</code>
<div class="block">Returns <tt>true</tt> if and only if this buffer is returned back
to the buffer pool when released.</div>
</td>
</tr>
<tr id="i61" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#isReadOnly--">isReadOnly</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i62" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#limit--">limit</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i63" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#limit-int-">limit</a></span>(int&nbsp;newLimit)</code>&nbsp;</td>
</tr>
<tr id="i64" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#mark--">mark</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i65" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#markValue--">markValue</a></span>()</code>
<div class="block">Returns the position of the current mark.</div>
</td>
</tr>
<tr id="i66" class="altColor">
<td class="colFirst"><code>java.nio.ByteOrder</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#order--">order</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i67" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#order-java.nio.ByteOrder-">order</a></span>(java.nio.ByteOrder&nbsp;bo)</code>&nbsp;</td>
</tr>
<tr id="i68" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#position--">position</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i69" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#position-int-">position</a></span>(int&nbsp;newPosition)</code>&nbsp;</td>
</tr>
<tr id="i70" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#put-byte-">put</a></span>(byte&nbsp;b)</code>&nbsp;</td>
</tr>
<tr id="i71" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#put-byte:A-">put</a></span>(byte[]&nbsp;src)</code>&nbsp;</td>
</tr>
<tr id="i72" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#put-byte:A-int-int-">put</a></span>(byte[]&nbsp;src,
int&nbsp;offset,
int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i73" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#put-org.apache.mina.common.ByteBuffer-">put</a></span>(<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;src)</code>
<div class="block">Writes the content of the specified <tt>src</tt> into this buffer.</div>
</td>
</tr>
<tr id="i74" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.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="i75" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#put-int-byte-">put</a></span>(int&nbsp;index,
byte&nbsp;b)</code>&nbsp;</td>
</tr>
<tr id="i76" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#putChar-char-">putChar</a></span>(char&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i77" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#putChar-int-char-">putChar</a></span>(int&nbsp;index,
char&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i78" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#putDouble-double-">putDouble</a></span>(double&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i79" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#putDouble-int-double-">putDouble</a></span>(int&nbsp;index,
double&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i80" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#putFloat-float-">putFloat</a></span>(float&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i81" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#putFloat-int-float-">putFloat</a></span>(int&nbsp;index,
float&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i82" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#putInt-int-">putInt</a></span>(int&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i83" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#putInt-int-int-">putInt</a></span>(int&nbsp;index,
int&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i84" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#putLong-int-long-">putLong</a></span>(int&nbsp;index,
long&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i85" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#putLong-long-">putLong</a></span>(long&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i86" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.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="i87" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.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="i88" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.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="i89" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#putPrefixedString-java.lang.CharSequence-int-int-byte-java.nio.charset.CharsetEncoder-">putPrefixedString</a></span>(java.lang.CharSequence&nbsp;in,
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="i90" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.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="i91" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#putShort-int-short-">putShort</a></span>(int&nbsp;index,
short&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i92" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#putShort-short-">putShort</a></span>(short&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i93" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#putString-java.lang.CharSequence-java.nio.charset.CharsetEncoder-">putString</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 using the
specified <code>encoder</code>.</div>
</td>
</tr>
<tr id="i94" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#putString-java.lang.CharSequence-int-java.nio.charset.CharsetEncoder-">putString</a></span>(java.lang.CharSequence&nbsp;in,
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="i95" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#release--">release</a></span>()</code>
<div class="block">Releases the specified buffer to buffer pool.</div>
</td>
</tr>
<tr id="i96" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#remaining--">remaining</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i97" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#reset--">reset</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i98" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#rewind--">rewind</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i99" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.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="i100" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#setPooled-boolean-">setPooled</a></span>(boolean&nbsp;pooled)</code>
<div class="block">Sets whether this buffer is returned back to the buffer pool when released.</div>
</td>
</tr>
<tr id="i101" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.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="i102" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#slice--">slice</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i103" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.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="i104" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#sweep-byte-">sweep</a></span>(byte&nbsp;value)</code>
<div class="block">Clears this buffer and fills its content with <tt>value</tt>.</div>
</td>
</tr>
<tr id="i105" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/ByteBufferProxy.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.mina.common.ByteBuffer">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.mina.common.<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></h3>
<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#allocate-int-">allocate</a>, <a href="../../../../org/apache/mina/common/ByteBuffer.html#allocate-int-boolean-">allocate</a>, <a href="../../../../org/apache/mina/common/ByteBuffer.html#autoExpand-int-">autoExpand</a>, <a href="../../../../org/apache/mina/common/ByteBuffer.html#autoExpand-int-int-">autoExpand</a>, <a href="../../../../org/apache/mina/common/ByteBuffer.html#getAllocator--">getAllocator</a>, <a href="../../../../org/apache/mina/common/ByteBuffer.html#isUseDirectBuffers--">isUseDirectBuffers</a>, <a href="../../../../org/apache/mina/common/ByteBuffer.html#prefixedDataAvailable-int-">prefixedDataAvailable</a>, <a href="../../../../org/apache/mina/common/ByteBuffer.html#prefixedDataAvailable-int-int-">prefixedDataAvailable</a>, <a href="../../../../org/apache/mina/common/ByteBuffer.html#setAllocator-org.apache.mina.common.ByteBufferAllocator-">setAllocator</a>, <a href="../../../../org/apache/mina/common/ByteBuffer.html#setUseDirectBuffers-boolean-">setUseDirectBuffers</a>, <a href="../../../../org/apache/mina/common/ByteBuffer.html#wrap-byte:A-">wrap</a>, <a href="../../../../org/apache/mina/common/ByteBuffer.html#wrap-byte:A-int-int-">wrap</a>, <a href="../../../../org/apache/mina/common/ByteBuffer.html#wrap-java.nio.ByteBuffer-">wrap</a></code></li>
</ul>
<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, finalize, getClass, notify, notifyAll, wait, wait, wait</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="buf">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>buf</h4>
<pre>protected&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a> buf</pre>
<div class="block">The buffer proxied by this proxy.</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="ByteBufferProxy-org.apache.mina.common.ByteBuffer-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ByteBufferProxy</h4>
<pre>protected&nbsp;ByteBufferProxy(<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;buf)</pre>
<div class="block">Create a new instance.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>buf</code> - the buffer to be proxied</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="acquire--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>acquire</h4>
<pre>public&nbsp;void&nbsp;acquire()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#acquire--">ByteBuffer</a></code></span></div>
<div class="block">Increases the internal reference count of this buffer to defer
automatic release. You have to invoke <a href="../../../../org/apache/mina/common/ByteBuffer.html#release--"><code>ByteBuffer.release()</code></a> as many
as you invoked this method to release this buffer.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#acquire--">acquire</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="release--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>release</h4>
<pre>public&nbsp;void&nbsp;release()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#release--">ByteBuffer</a></code></span></div>
<div class="block">Releases the specified buffer to buffer pool.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#release--">release</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="isDirect--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isDirect</h4>
<pre>public&nbsp;boolean&nbsp;isDirect()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#isDirect--">isDirect</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.isDirect()</code></dd>
</dl>
</li>
</ul>
<a name="buf--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>buf</h4>
<pre>public&nbsp;java.nio.ByteBuffer&nbsp;buf()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#buf--">ByteBuffer</a></code></span></div>
<div class="block">Returns the underlying NIO buffer instance.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#buf--">buf</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="capacity--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>capacity</h4>
<pre>public&nbsp;int&nbsp;capacity()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#capacity--">capacity</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>Buffer.capacity()</code></dd>
</dl>
</li>
</ul>
<a name="position--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>position</h4>
<pre>public&nbsp;int&nbsp;position()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#position--">position</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;position(int&nbsp;newPosition)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#position-int-">position</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;int&nbsp;limit()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#limit--">limit</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;limit(int&nbsp;newLimit)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#limit-int-">limit</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;mark()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#mark--">mark</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>Buffer.mark()</code></dd>
</dl>
</li>
</ul>
<a name="reset--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reset</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;reset()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#reset--">reset</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;clear()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#clear--">clear</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;sweep()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#sweep--">ByteBuffer</a></code></span></div>
<div class="block">Clears this buffer and fills its content with <tt>NUL</tt>.
The position is set to zero, the limit is set to the capacity,
and the mark is discarded.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#sweep--">sweep</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="sweep-byte-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sweep</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;sweep(byte&nbsp;value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#sweep-byte-">ByteBuffer</a></code></span></div>
<div class="block">Clears this buffer and fills its content with <tt>value</tt>.
The position is set to zero, the limit is set to the capacity,
and the mark is discarded.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#sweep-byte-">sweep</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="flip--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>flip</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;flip()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#flip--">flip</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;rewind()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#rewind--">rewind</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;int&nbsp;remaining()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#remaining--">remaining</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;boolean&nbsp;hasRemaining()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#hasRemaining--">hasRemaining</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>Buffer.hasRemaining()</code></dd>
</dl>
</li>
</ul>
<a name="get--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public&nbsp;byte&nbsp;get()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#get--">get</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;short&nbsp;getUnsigned()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getUnsigned--">ByteBuffer</a></code></span></div>
<div class="block">Reads one unsigned byte as a short integer.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getUnsigned--">getUnsigned</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="put-byte-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;put(byte&nbsp;b)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#put-byte-">put</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;byte&nbsp;get(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#get-int-">get</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;short&nbsp;getUnsigned(int&nbsp;index)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getUnsigned-int-">ByteBuffer</a></code></span></div>
<div class="block">Reads one byte as an unsigned short integer.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getUnsigned-int-">getUnsigned</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="put-int-byte-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;put(int&nbsp;index,
byte&nbsp;b)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#put-int-byte-">put</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;get(byte[]&nbsp;dst,
int&nbsp;offset,
int&nbsp;length)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#get-byte:A-int-int-">get</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;get(byte[]&nbsp;dst)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#get-byte:A-">get</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.get(byte[])</code></dd>
</dl>
</li>
</ul>
<a name="put-org.apache.mina.common.ByteBuffer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;put(<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;src)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#put-org.apache.mina.common.ByteBuffer-">ByteBuffer</a></code></span></div>
<div class="block">Writes the content of the specified <tt>src</tt> into this buffer.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#put-org.apache.mina.common.ByteBuffer-">put</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="put-java.nio.ByteBuffer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;put(java.nio.ByteBuffer&nbsp;src)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#put-java.nio.ByteBuffer-">ByteBuffer</a></code></span></div>
<div class="block">Writes the content of the specified <tt>src</tt> into this buffer.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#put-java.nio.ByteBuffer-">put</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="put-byte:A-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;put(byte[]&nbsp;src,
int&nbsp;offset,
int&nbsp;length)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#put-byte:A-int-int-">put</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;put(byte[]&nbsp;src)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#put-byte:A-">put</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;compact()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#compact--">compact</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.compact()</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#toString--">toString</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#hashCode--">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;ob)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#equals-java.lang.Object-">equals</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="compareTo-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compareTo</h4>
<pre>public&nbsp;int&nbsp;compareTo(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>compareTo</code>&nbsp;in interface&nbsp;<code>java.lang.Comparable</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#compareTo-java.lang.Object-">compareTo</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="order--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>order</h4>
<pre>public&nbsp;java.nio.ByteOrder&nbsp;order()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#order--">order</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;order(java.nio.ByteOrder&nbsp;bo)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#order-java.nio.ByteOrder-">order</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;char&nbsp;getChar()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getChar--">getChar</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;putChar(char&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#putChar-char-">putChar</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;char&nbsp;getChar(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getChar-int-">getChar</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;putChar(int&nbsp;index,
char&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#putChar-int-char-">putChar</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;java.nio.CharBuffer&nbsp;asCharBuffer()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#asCharBuffer--">asCharBuffer</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;short&nbsp;getShort()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getShort--">getShort</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;int&nbsp;getUnsignedShort()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getUnsignedShort--">ByteBuffer</a></code></span></div>
<div class="block">Reads two bytes unsigned integer.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getUnsignedShort--">getUnsignedShort</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="putShort-short-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putShort</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;putShort(short&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#putShort-short-">putShort</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;short&nbsp;getShort(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getShort-int-">getShort</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;int&nbsp;getUnsignedShort(int&nbsp;index)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getUnsignedShort-int-">ByteBuffer</a></code></span></div>
<div class="block">Reads two bytes unsigned integer.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getUnsignedShort-int-">getUnsignedShort</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="putShort-int-short-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putShort</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;putShort(int&nbsp;index,
short&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#putShort-int-short-">putShort</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;java.nio.ShortBuffer&nbsp;asShortBuffer()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#asShortBuffer--">asShortBuffer</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;int&nbsp;getInt()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getInt--">getInt</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;long&nbsp;getUnsignedInt()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getUnsignedInt--">ByteBuffer</a></code></span></div>
<div class="block">Reads four bytes unsigned integer.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getUnsignedInt--">getUnsignedInt</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="putInt-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putInt</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;putInt(int&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#putInt-int-">putInt</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;int&nbsp;getInt(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getInt-int-">getInt</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;long&nbsp;getUnsignedInt(int&nbsp;index)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getUnsignedInt-int-">ByteBuffer</a></code></span></div>
<div class="block">Reads four bytes unsigned integer.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getUnsignedInt-int-">getUnsignedInt</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="putInt-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putInt</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;putInt(int&nbsp;index,
int&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#putInt-int-int-">putInt</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;java.nio.IntBuffer&nbsp;asIntBuffer()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#asIntBuffer--">asIntBuffer</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;long&nbsp;getLong()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getLong--">getLong</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;putLong(long&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#putLong-long-">putLong</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;long&nbsp;getLong(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getLong-int-">getLong</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;putLong(int&nbsp;index,
long&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#putLong-int-long-">putLong</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;java.nio.LongBuffer&nbsp;asLongBuffer()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#asLongBuffer--">asLongBuffer</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;float&nbsp;getFloat()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getFloat--">getFloat</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;putFloat(float&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#putFloat-float-">putFloat</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;float&nbsp;getFloat(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getFloat-int-">getFloat</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;putFloat(int&nbsp;index,
float&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#putFloat-int-float-">putFloat</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;java.nio.FloatBuffer&nbsp;asFloatBuffer()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#asFloatBuffer--">asFloatBuffer</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;double&nbsp;getDouble()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getDouble--">getDouble</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;putDouble(double&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#putDouble-double-">putDouble</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;double&nbsp;getDouble(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getDouble-int-">getDouble</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;putDouble(int&nbsp;index,
double&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#putDouble-int-double-">putDouble</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;java.nio.DoubleBuffer&nbsp;asDoubleBuffer()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#asDoubleBuffer--">asDoubleBuffer</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.asDoubleBuffer()</code></dd>
</dl>
</li>
</ul>
<a name="getHexDump--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHexDump</h4>
<pre>public&nbsp;java.lang.String&nbsp;getHexDump()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getHexDump--">ByteBuffer</a></code></span></div>
<div class="block">Returns hexdump of this buffer.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getHexDump--">getHexDump</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></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&nbsp;java.lang.String&nbsp;getString(int&nbsp;fieldSize,
java.nio.charset.CharsetDecoder&nbsp;decoder)
throws java.nio.charset.CharacterCodingException</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getString-int-java.nio.charset.CharsetDecoder-">ByteBuffer</a></code></span></div>
<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="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getString-int-java.nio.charset.CharsetDecoder-">getString</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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="getString-java.nio.charset.CharsetDecoder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getString</h4>
<pre>public&nbsp;java.lang.String&nbsp;getString(java.nio.charset.CharsetDecoder&nbsp;decoder)
throws java.nio.charset.CharacterCodingException</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getString-java.nio.charset.CharsetDecoder-">ByteBuffer</a></code></span></div>
<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="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getString-java.nio.charset.CharsetDecoder-">getString</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></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&nbsp;java.lang.String&nbsp;getPrefixedString(java.nio.charset.CharsetDecoder&nbsp;decoder)
throws java.nio.charset.CharacterCodingException</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getPrefixedString-java.nio.charset.CharsetDecoder-">ByteBuffer</a></code></span></div>
<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="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getPrefixedString-java.nio.charset.CharsetDecoder-">getPrefixedString</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;java.lang.String&nbsp;getPrefixedString(int&nbsp;prefixLength,
java.nio.charset.CharsetDecoder&nbsp;decoder)
throws java.nio.charset.CharacterCodingException</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getPrefixedString-int-java.nio.charset.CharsetDecoder-">ByteBuffer</a></code></span></div>
<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="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getPrefixedString-int-java.nio.charset.CharsetDecoder-">getPrefixedString</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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="putString-java.lang.CharSequence-int-java.nio.charset.CharsetEncoder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putString</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;putString(java.lang.CharSequence&nbsp;in,
int&nbsp;fieldSize,
java.nio.charset.CharsetEncoder&nbsp;encoder)
throws java.nio.charset.CharacterCodingException</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#putString-java.lang.CharSequence-int-java.nio.charset.CharsetEncoder-">ByteBuffer</a></code></span></div>
<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="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#putString-java.lang.CharSequence-int-java.nio.charset.CharsetEncoder-">putString</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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="putString-java.lang.CharSequence-java.nio.charset.CharsetEncoder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putString</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;putString(java.lang.CharSequence&nbsp;in,
java.nio.charset.CharsetEncoder&nbsp;encoder)
throws java.nio.charset.CharacterCodingException</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#putString-java.lang.CharSequence-java.nio.charset.CharsetEncoder-">ByteBuffer</a></code></span></div>
<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="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#putString-java.lang.CharSequence-java.nio.charset.CharsetEncoder-">putString</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></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&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;putPrefixedString(java.lang.CharSequence&nbsp;in,
java.nio.charset.CharsetEncoder&nbsp;encoder)
throws java.nio.charset.CharacterCodingException</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#putPrefixedString-java.lang.CharSequence-java.nio.charset.CharsetEncoder-">ByteBuffer</a></code></span></div>
<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="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#putPrefixedString-java.lang.CharSequence-java.nio.charset.CharsetEncoder-">putPrefixedString</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></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-int-java.nio.charset.CharsetEncoder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putPrefixedString</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</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"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#putPrefixedString-java.lang.CharSequence-int-java.nio.charset.CharsetEncoder-">ByteBuffer</a></code></span></div>
<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="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#putPrefixedString-java.lang.CharSequence-int-java.nio.charset.CharsetEncoder-">putPrefixedString</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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-int-int-java.nio.charset.CharsetEncoder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putPrefixedString</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</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"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#putPrefixedString-java.lang.CharSequence-int-int-java.nio.charset.CharsetEncoder-">ByteBuffer</a></code></span></div>
<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="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#putPrefixedString-java.lang.CharSequence-int-int-java.nio.charset.CharsetEncoder-">putPrefixedString</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<dd><code>prefixLength</code> - the length of the length field (1, 2, or 4)</dd>
<dd><code>padding</code> - the number of padded <tt>NUL</tt>s (1 (or 0), 2, or 4)</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<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&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;putPrefixedString(java.lang.CharSequence&nbsp;in,
int&nbsp;prefixLength,
int&nbsp;padding,
byte&nbsp;padValue,
java.nio.charset.CharsetEncoder&nbsp;encoder)
throws java.nio.charset.CharacterCodingException</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#putPrefixedString-java.lang.CharSequence-int-int-byte-java.nio.charset.CharsetEncoder-">ByteBuffer</a></code></span></div>
<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="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#putPrefixedString-java.lang.CharSequence-int-int-byte-java.nio.charset.CharsetEncoder-">putPrefixedString</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<dd><code>prefixLength</code> - the length of the length field (1, 2, or 4)</dd>
<dd><code>padding</code> - the number of padded bytes (1 (or 0), 2, or 4)</dd>
<dd><code>padValue</code> - the value of padded bytes</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.nio.charset.CharacterCodingException</code></dd>
</dl>
</li>
</ul>
<a name="skip-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>skip</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;skip(int&nbsp;size)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#skip-int-">ByteBuffer</a></code></span></div>
<div class="block">Forwards the position of this buffer as the specified <code>size</code>
bytes.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#skip-int-">skip</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="fill-byte-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fill</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;fill(byte&nbsp;value,
int&nbsp;size)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#fill-byte-int-">ByteBuffer</a></code></span></div>
<div class="block">Fills this buffer with the specified value.
This method moves buffer position forward.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#fill-byte-int-">fill</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="fillAndReset-byte-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fillAndReset</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;fillAndReset(byte&nbsp;value,
int&nbsp;size)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#fillAndReset-byte-int-">ByteBuffer</a></code></span></div>
<div class="block">Fills this buffer with the specified value.
This method does not change buffer position.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#fillAndReset-byte-int-">fillAndReset</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="fill-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fill</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;fill(int&nbsp;size)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#fill-int-">ByteBuffer</a></code></span></div>
<div class="block">Fills this buffer with <code>NUL (0x00)</code>.
This method moves buffer position forward.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#fill-int-">fill</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="fillAndReset-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fillAndReset</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;fillAndReset(int&nbsp;size)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#fillAndReset-int-">ByteBuffer</a></code></span></div>
<div class="block">Fills this buffer with <code>NUL (0x00)</code>.
This method does not change buffer position.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#fillAndReset-int-">fillAndReset</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="isAutoExpand--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAutoExpand</h4>
<pre>public&nbsp;boolean&nbsp;isAutoExpand()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#isAutoExpand--">ByteBuffer</a></code></span></div>
<div class="block">Returns <tt>true</tt> if and only if <tt>autoExpand</tt> is turned on.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#isAutoExpand--">isAutoExpand</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="setAutoExpand-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAutoExpand</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;setAutoExpand(boolean&nbsp;autoExpand)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#setAutoExpand-boolean-">ByteBuffer</a></code></span></div>
<div class="block">Turns on or off <tt>autoExpand</tt>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#setAutoExpand-boolean-">setAutoExpand</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="expand-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>expand</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;expand(int&nbsp;pos,
int&nbsp;expectedRemaining)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#expand-int-int-">ByteBuffer</a></code></span></div>
<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>pos</tt>.
This method works even if you didn't set <tt>autoExpand</tt> to
<tt>true</tt>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#expand-int-int-">expand</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="expand-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>expand</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;expand(int&nbsp;expectedRemaining)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#expand-int-">ByteBuffer</a></code></span></div>
<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>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#expand-int-">expand</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="isPooled--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isPooled</h4>
<pre>public&nbsp;boolean&nbsp;isPooled()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#isPooled--">ByteBuffer</a></code></span></div>
<div class="block">Returns <tt>true</tt> if and only if this buffer is returned back
to the buffer pool when released.
<p>
The default value of this property is <tt>true</tt> if and only if you
allocated this buffer using <a href="../../../../org/apache/mina/common/ByteBuffer.html#allocate-int-"><code>ByteBuffer.allocate(int)</code></a> or <a href="../../../../org/apache/mina/common/ByteBuffer.html#allocate-int-boolean-"><code>ByteBuffer.allocate(int, boolean)</code></a>,
or <tt>false</tt> otherwise. (i.e. <a href="../../../../org/apache/mina/common/ByteBuffer.html#wrap-byte:A-"><code>ByteBuffer.wrap(byte[])</code></a>, <a href="../../../../org/apache/mina/common/ByteBuffer.html#wrap-byte:A-int-int-"><code>ByteBuffer.wrap(byte[], int, int)</code></a>,
and <a href="../../../../org/apache/mina/common/ByteBuffer.html#wrap-java.nio.ByteBuffer-"><code>ByteBuffer.wrap(java.nio.ByteBuffer)</code></a>)</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#isPooled--">isPooled</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="setPooled-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPooled</h4>
<pre>public&nbsp;void&nbsp;setPooled(boolean&nbsp;pooled)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#setPooled-boolean-">ByteBuffer</a></code></span></div>
<div class="block">Sets whether this buffer is returned back to the buffer pool when released.
<p>
The default value of this property is <tt>true</tt> if and only if you
allocated this buffer using <a href="../../../../org/apache/mina/common/ByteBuffer.html#allocate-int-"><code>ByteBuffer.allocate(int)</code></a> or <a href="../../../../org/apache/mina/common/ByteBuffer.html#allocate-int-boolean-"><code>ByteBuffer.allocate(int, boolean)</code></a>,
or <tt>false</tt> otherwise. (i.e. <a href="../../../../org/apache/mina/common/ByteBuffer.html#wrap-byte:A-"><code>ByteBuffer.wrap(byte[])</code></a>, <a href="../../../../org/apache/mina/common/ByteBuffer.html#wrap-byte:A-int-int-"><code>ByteBuffer.wrap(byte[], int, int)</code></a>,
and <a href="../../../../org/apache/mina/common/ByteBuffer.html#wrap-java.nio.ByteBuffer-"><code>ByteBuffer.wrap(java.nio.ByteBuffer)</code></a>)</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#setPooled-boolean-">setPooled</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="getObject--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getObject</h4>
<pre>public&nbsp;java.lang.Object&nbsp;getObject()
throws java.lang.ClassNotFoundException</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getObject--">ByteBuffer</a></code></span></div>
<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="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getObject--">getObject</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;java.lang.Object&nbsp;getObject(java.lang.ClassLoader&nbsp;classLoader)
throws java.lang.ClassNotFoundException</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getObject-java.lang.ClassLoader-">ByteBuffer</a></code></span></div>
<div class="block">Reads a Java object from the buffer using the specified <tt>classLoader</tt>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#getObject-java.lang.ClassLoader-">getObject</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;putObject(java.lang.Object&nbsp;o)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#putObject-java.lang.Object-">ByteBuffer</a></code></span></div>
<div class="block">Writes the specified Java object to the buffer.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#putObject-java.lang.Object-">putObject</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="asInputStream--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asInputStream</h4>
<pre>public&nbsp;java.io.InputStream&nbsp;asInputStream()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#asInputStream--">ByteBuffer</a></code></span></div>
<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>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#asInputStream--">asInputStream</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="asOutputStream--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asOutputStream</h4>
<pre>public&nbsp;java.io.OutputStream&nbsp;asOutputStream()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#asOutputStream--">ByteBuffer</a></code></span></div>
<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/common/ByteBuffer.html#setAutoExpand-boolean-"><code>ByteBuffer.setAutoExpand(boolean)</code></a> to prevent the unexpected runtime
exception.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#asOutputStream--">asOutputStream</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="duplicate--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>duplicate</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;duplicate()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#duplicate--">duplicate</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;slice()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#slice--">slice</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;asReadOnlyBuffer()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#asReadOnlyBuffer--">asReadOnlyBuffer</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.asReadOnlyBuffer()</code></dd>
</dl>
</li>
</ul>
<a name="array--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>array</h4>
<pre>public&nbsp;byte[]&nbsp;array()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#array--">array</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<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&nbsp;int&nbsp;arrayOffset()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#arrayOffset--">arrayOffset</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>ByteBuffer.arrayOffset()</code></dd>
</dl>
</li>
</ul>
<a name="capacity-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>capacity</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a>&nbsp;capacity(int&nbsp;newCapacity)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#capacity-int-">ByteBuffer</a></code></span></div>
<div class="block">Changes the capacity of this buffer.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#capacity-int-">capacity</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
</dl>
</li>
</ul>
<a name="isReadOnly--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isReadOnly</h4>
<pre>public&nbsp;boolean&nbsp;isReadOnly()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#isReadOnly--">isReadOnly</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>Buffer.isReadOnly()</code></dd>
</dl>
</li>
</ul>
<a name="markValue--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>markValue</h4>
<pre>public&nbsp;int&nbsp;markValue()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html#markValue--">ByteBuffer</a></code></span></div>
<div class="block">Returns the position of the current mark. This method returns <tt>-1</tt> if no
mark is set.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mina/common/ByteBuffer.html#markValue--">markValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/mina/common/ByteBuffer.html" title="class in org.apache.mina.common">ByteBuffer</a></code></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/ByteBufferProxy.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/common/ByteBufferAllocator.html" title="interface in org.apache.mina.common"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/mina/common/CloseFuture.html" title="interface in org.apache.mina.common"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/mina/common/ByteBufferProxy.html" target="_top">Frames</a></li>
<li><a href="ByteBufferProxy.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 © 2004-2019 <a href="http://mina.apace.org/">Apache MINA Project</a>. All Rights Reserved.</small></p>
</body>
</html>