| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.11) on Wed May 12 10:10:59 EDT 2021 --> |
| <title>ProtonNettyByteBuffer (Qpid ProtonJ2 Parent 1.0.0-M1 API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2021-05-12"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="ProtonNettyByteBuffer (Qpid ProtonJ2 Parent 1.0.0-M1 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":9,"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}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ProtonNettyByteBuffer.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" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.apache.qpid.protonj2.buffer</a></div> |
| <h2 title="Class ProtonNettyByteBuffer" class="title">Class ProtonNettyByteBuffer</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.qpid.protonj2.buffer.ProtonNettyByteBuffer</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code>java.lang.Comparable<<a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a>></code>, <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public final class <span class="typeNameLabel">ProtonNettyByteBuffer</span> |
| extends java.lang.Object |
| implements <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></pre> |
| <div class="block">Wrapper class for Netty ByteBuf instances</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(int)">ProtonNettyByteBuffer</a></span>​(int maximumCapacity)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="ProtonNettyByteBuffer.html" title="class in org.apache.qpid.protonj2.buffer"><code>ProtonNettyByteBuffer</code></a> that wraps an Netty <code>ByteBuf</code> that is |
| not pooled and whose maximum capacity is set to the given value.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(io.netty.buffer.ByteBuf)">ProtonNettyByteBuffer</a></span>​(io.netty.buffer.ByteBuf toWrap)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a new <a href="ProtonNettyByteBuffer.html" title="class in org.apache.qpid.protonj2.buffer"><code>ProtonNettyByteBuffer</code></a> which wraps the given Netty <code>ByteBuf</code>.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#capacity()">capacity</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#capacity(int)">capacity</a></span>​(int newCapacity)</code></th> |
| <td class="colLast"> |
| <div class="block">Adjusts the capacity of this buffer.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#checkDestinationIndex(int,int,int,int)">checkDestinationIndex</a></span>​(int index, |
| int length, |
| int dstIndex, |
| int dstCapacity)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#checkIndex(int,int)">checkIndex</a></span>​(int index, |
| int fieldLength)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#checkReadableBytes(int)">checkReadableBytes</a></span>​(int minimumReadableBytes)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#checkSourceIndex(int,int,int,int)">checkSourceIndex</a></span>​(int index, |
| int length, |
| int srcIndex, |
| int srcCapacity)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clear()">clear</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Reset the position markers of this buffer, this method is not required to reset |
| the data previously written to this buffer.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#compareTo(org.apache.qpid.protonj2.buffer.ProtonBuffer)">compareTo</a></span>​(<a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> other)</code></th> |
| <td class="colLast"> |
| <div class="block">Compares the remaining content of the current buffer with the remaining content of the |
| given buffer, which must not be null.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#copy()">copy</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Create a deep copy of the readable bytes of this ProtonBuffer, the returned buffer can |
| be modified without affecting the contents or position markers of this instance.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#copy(int,int)">copy</a></span>​(int index, |
| int length)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a copy of this buffer's sub-region.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#duplicate()">duplicate</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Create a duplicate of this ProtonBuffer instance that shares the same backing |
| data store and but maintains separate position index values.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ensureWritable(int)">ensureWritable</a></span>​(int minWritableBytes)</code></th> |
| <td class="colLast"> |
| <div class="block">Ensures that the requested number of bytes is available for write operations |
| in the current buffer, growing the buffer if needed to meet the requested |
| writable capacity.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#equals(java.lang.Object)">equals</a></span>​(java.lang.Object other)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>byte[]</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getArray()">getArray</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the backing array for this ProtonBuffer instance if there is such an array or |
| throws an exception if this ProtonBuffer implementation has no backing array.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getArrayOffset()">getArrayOffset</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBoolean(int)">getBoolean</a></span>​(int index)</code></th> |
| <td class="colLast"> |
| <div class="block">Gets a boolean from the specified index, this method will not modify the read or write |
| index.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>byte</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getByte(int)">getByte</a></span>​(int index)</code></th> |
| <td class="colLast"> |
| <div class="block">Gets a byte from the specified index, this method will not modify the read or write |
| index.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBytes(int,byte%5B%5D)">getBytes</a></span>​(int index, |
| byte[] destination)</code></th> |
| <td class="colLast"> |
| <div class="block">Transfers this buffer's data to the specified destination starting at |
| the specified absolute <code>index</code>.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBytes(int,byte%5B%5D,int,int)">getBytes</a></span>​(int index, |
| byte[] destination, |
| int offset, |
| int length)</code></th> |
| <td class="colLast"> |
| <div class="block">Transfers this buffer's data to the specified destination starting at |
| the specified absolute <code>index</code>.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBytes(int,java.nio.ByteBuffer)">getBytes</a></span>​(int index, |
| java.nio.ByteBuffer destination)</code></th> |
| <td class="colLast"> |
| <div class="block">Transfers this buffer's data to the specified destination starting at |
| the specified absolute <code>index</code> until the destination's position |
| reaches its limit.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer)">getBytes</a></span>​(int index, |
| <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> destination)</code></th> |
| <td class="colLast"> |
| <div class="block">Transfers this buffer's data to the specified destination starting at |
| the specified absolute <code>index</code> until the destination becomes |
| non-writable.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer,int)">getBytes</a></span>​(int index, |
| <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> destination, |
| int length)</code></th> |
| <td class="colLast"> |
| <div class="block">Transfers this buffer's data to the specified destination starting at |
| the specified absolute <code>index</code>.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)">getBytes</a></span>​(int index, |
| <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> destination, |
| int offset, |
| int length)</code></th> |
| <td class="colLast"> |
| <div class="block">Transfers this buffer's data to the specified destination starting at |
| the specified absolute <code>index</code>.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>char</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getChar(int)">getChar</a></span>​(int index)</code></th> |
| <td class="colLast"> |
| <div class="block">Gets a 2-byte char from the specified index, this method will not modify the read or write |
| index.</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDouble(int)">getDouble</a></span>​(int index)</code></th> |
| <td class="colLast"> |
| <div class="block">Gets a double from the specified index, this method will not modify the read or write |
| index.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>float</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFloat(int)">getFloat</a></span>​(int index)</code></th> |
| <td class="colLast"> |
| <div class="block">Gets a float from the specified index, this method will not modify the read or write |
| index.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getInt(int)">getInt</a></span>​(int index)</code></th> |
| <td class="colLast"> |
| <div class="block">Gets a int from the specified index, this method will not modify the read or write |
| index.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLong(int)">getLong</a></span>​(int index)</code></th> |
| <td class="colLast"> |
| <div class="block">Gets a long from the specified index, this method will not modify the read or write |
| index.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMaxWritableBytes()">getMaxWritableBytes</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Gets the current maximum number of bytes that can be written to this buffer.</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getReadableBytes()">getReadableBytes</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getReadIndex()">getReadIndex</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>short</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getShort(int)">getShort</a></span>​(int index)</code></th> |
| <td class="colLast"> |
| <div class="block">Gets a short from the specified index, this method will not modify the read or write |
| index.</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>short</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getUnsignedByte(int)">getUnsignedByte</a></span>​(int index)</code></th> |
| <td class="colLast"> |
| <div class="block">Gets a unsigned byte from the specified index, this method will not modify the read or write |
| index.</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getUnsignedInt(int)">getUnsignedInt</a></span>​(int index)</code></th> |
| <td class="colLast"> |
| <div class="block">Gets a unsigned int from the specified index, this method will not modify the read or write |
| index.</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getUnsignedShort(int)">getUnsignedShort</a></span>​(int index)</code></th> |
| <td class="colLast"> |
| <div class="block">Gets a unsigned short from the specified index, this method will not modify the read or write |
| index.</div> |
| </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getWritableBytes()">getWritableBytes</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getWriteIndex()">getWriteIndex</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasArray()">hasArray</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hashCode()">hashCode</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code>protected static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isOutOfBounds(int,int,int)">isOutOfBounds</a></span>​(int index, |
| int length, |
| int capacity)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isReadable()">isReadable</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isReadable(int)">isReadable</a></span>​(int minReadableBytes)</code></th> |
| <td class="colLast"> |
| <div class="block">Check if the given number of bytes can be read from the buffer.</div> |
| </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isWritable()">isWritable</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i43" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isWritable(int)">isWritable</a></span>​(int minWritableBytes)</code></th> |
| <td class="colLast"> |
| <div class="block">Check if the requested number of bytes can be written into this buffer.</div> |
| </td> |
| </tr> |
| <tr id="i44" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#markReadIndex()">markReadIndex</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Marks the current read index so that it can later be restored by a call to |
| <a href="ProtonBuffer.html#resetReadIndex()"><code>ProtonBuffer.resetReadIndex()</code></a>, the initial mark value is 0.</div> |
| </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#markWriteIndex()">markWriteIndex</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Marks the current write index so that it can later be restored by a call to |
| <a href="ProtonBuffer.html#resetWriteIndex()"><code>ProtonBuffer.resetWriteIndex()</code></a>, the initial mark value is 0.</div> |
| </td> |
| </tr> |
| <tr id="i46" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#maxCapacity()">maxCapacity</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the number of bytes that this buffer is allowed to grow to when write |
| operations exceed the current capacity value.</div> |
| </td> |
| </tr> |
| <tr id="i47" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readBoolean()">readBoolean</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Reads a boolean value from the buffer and advances the read index by one.</div> |
| </td> |
| </tr> |
| <tr id="i48" class="altColor"> |
| <td class="colFirst"><code>byte</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readByte()">readByte</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Reads one byte from the buffer and advances the read index by one.</div> |
| </td> |
| </tr> |
| <tr id="i49" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readBytes(byte%5B%5D)">readBytes</a></span>​(byte[] destination)</code></th> |
| <td class="colLast"> |
| <div class="block">Reads bytes from this buffer and writes them into the destination byte array incrementing |
| the read index by the value of the length of the destination array.</div> |
| </td> |
| </tr> |
| <tr id="i50" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readBytes(byte%5B%5D,int)">readBytes</a></span>​(byte[] destination, |
| int length)</code></th> |
| <td class="colLast"> |
| <div class="block">Reads bytes from this buffer and writes them into the destination byte array incrementing |
| the read index by the length value passed.</div> |
| </td> |
| </tr> |
| <tr id="i51" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readBytes(byte%5B%5D,int,int)">readBytes</a></span>​(byte[] destination, |
| int offset, |
| int length)</code></th> |
| <td class="colLast"> |
| <div class="block">Reads bytes from this buffer and writes them into the destination byte array incrementing |
| the read index by the length value passed, the bytes are read into the given buffer starting |
| from the given offset value.</div> |
| </td> |
| </tr> |
| <tr id="i52" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readBytes(java.nio.ByteBuffer)">readBytes</a></span>​(java.nio.ByteBuffer destination)</code></th> |
| <td class="colLast"> |
| <div class="block">Transfers this buffer's data to the specified destination starting at |
| the current <code>readIndex</code> until the destination's position |
| reaches its limit, and increases the <code>readIndex</code> by the |
| number of the transferred bytes.</div> |
| </td> |
| </tr> |
| <tr id="i53" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer)">readBytes</a></span>​(<a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> destination)</code></th> |
| <td class="colLast"> |
| <div class="block">Reads bytes from this buffer and writes them into the destination ProtonBuffer incrementing |
| the read index by the value of the number of bytes written to the target.</div> |
| </td> |
| </tr> |
| <tr id="i54" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer,int)">readBytes</a></span>​(<a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> destination, |
| int length)</code></th> |
| <td class="colLast"> |
| <div class="block">Reads bytes from this buffer and writes them into the destination ProtonBuffer incrementing |
| the read index by the number of bytes written.</div> |
| </td> |
| </tr> |
| <tr id="i55" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)">readBytes</a></span>​(<a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> destination, |
| int offset, |
| int length)</code></th> |
| <td class="colLast"> |
| <div class="block">Transfers this buffer's data to the specified destination starting at |
| the current <code>readIndex</code> and increases the <code>readIndex</code> |
| by the number of the transferred bytes (= <code>length</code>).</div> |
| </td> |
| </tr> |
| <tr id="i56" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readDouble()">readDouble</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Reads a double value from the buffer and advances the read index by eight.</div> |
| </td> |
| </tr> |
| <tr id="i57" class="rowColor"> |
| <td class="colFirst"><code>float</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readFloat()">readFloat</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Reads a float value from the buffer and advances the read index by four.</div> |
| </td> |
| </tr> |
| <tr id="i58" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readInt()">readInt</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Reads a integer value from the buffer and advances the read index by four.</div> |
| </td> |
| </tr> |
| <tr id="i59" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readLong()">readLong</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Reads a long value from the buffer and advances the read index by eight.</div> |
| </td> |
| </tr> |
| <tr id="i60" class="altColor"> |
| <td class="colFirst"><code>short</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readShort()">readShort</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Reads a short value from the buffer and advances the read index by two.</div> |
| </td> |
| </tr> |
| <tr id="i61" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#resetReadIndex()">resetReadIndex</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Resets the current read index to the previously marked value.</div> |
| </td> |
| </tr> |
| <tr id="i62" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#resetWriteIndex()">resetWriteIndex</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Resets the current write index to the previously marked value.</div> |
| </td> |
| </tr> |
| <tr id="i63" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBoolean(int,boolean)">setBoolean</a></span>​(int index, |
| boolean value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the boolean value at the given write index in this buffer's backing data store.</div> |
| </td> |
| </tr> |
| <tr id="i64" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setByte(int,int)">setByte</a></span>​(int index, |
| int value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the byte value at the given write index in this buffer's backing data store.</div> |
| </td> |
| </tr> |
| <tr id="i65" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBytes(int,byte%5B%5D)">setBytes</a></span>​(int index, |
| byte[] value)</code></th> |
| <td class="colLast"> |
| <div class="block">Transfers the specified source array's data to this buffer starting at |
| the specified absolute <code>index</code>.</div> |
| </td> |
| </tr> |
| <tr id="i66" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBytes(int,byte%5B%5D,int,int)">setBytes</a></span>​(int index, |
| byte[] value, |
| int offset, |
| int length)</code></th> |
| <td class="colLast"> |
| <div class="block">Transfers the specified source array's data to this buffer starting at |
| the specified absolute <code>index</code>.</div> |
| </td> |
| </tr> |
| <tr id="i67" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBytes(int,java.nio.ByteBuffer)">setBytes</a></span>​(int index, |
| java.nio.ByteBuffer value)</code></th> |
| <td class="colLast"> |
| <div class="block">Transfers the specified source buffer's data to this buffer starting at |
| the specified absolute <code>index</code> until the source buffer's position |
| reaches its limit.</div> |
| </td> |
| </tr> |
| <tr id="i68" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer)">setBytes</a></span>​(int index, |
| <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Transfers the specified source buffer's data to this buffer starting at |
| the specified absolute <code>index</code> until the source buffer becomes |
| unreadable.</div> |
| </td> |
| </tr> |
| <tr id="i69" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer,int)">setBytes</a></span>​(int index, |
| <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> value, |
| int length)</code></th> |
| <td class="colLast"> |
| <div class="block">Transfers the specified source buffer's data to this buffer starting at |
| the specified absolute <code>index</code>.</div> |
| </td> |
| </tr> |
| <tr id="i70" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)">setBytes</a></span>​(int index, |
| <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> value, |
| int offset, |
| int length)</code></th> |
| <td class="colLast"> |
| <div class="block">Transfers the specified source buffer's data to this buffer starting at |
| the specified absolute <code>index</code>.</div> |
| </td> |
| </tr> |
| <tr id="i71" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setChar(int,int)">setChar</a></span>​(int index, |
| int value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the char value at the given write index in this buffer's backing data store.</div> |
| </td> |
| </tr> |
| <tr id="i72" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDouble(int,double)">setDouble</a></span>​(int index, |
| double value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the double value at the given write index in this buffer's backing data store.</div> |
| </td> |
| </tr> |
| <tr id="i73" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFloat(int,float)">setFloat</a></span>​(int index, |
| float value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the float value at the given write index in this buffer's backing data store.</div> |
| </td> |
| </tr> |
| <tr id="i74" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setIndex(int,int)">setIndex</a></span>​(int readIndex, |
| int writeIndex)</code></th> |
| <td class="colLast"> |
| <div class="block">Used to set the read index and the write index in one call.</div> |
| </td> |
| </tr> |
| <tr id="i75" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setInt(int,int)">setInt</a></span>​(int index, |
| int value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the int value at the given write index in this buffer's backing data store.</div> |
| </td> |
| </tr> |
| <tr id="i76" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setLong(int,long)">setLong</a></span>​(int index, |
| long value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the long value at the given write index in this buffer's backing data store.</div> |
| </td> |
| </tr> |
| <tr id="i77" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setReadIndex(int)">setReadIndex</a></span>​(int index)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the read index for this buffer.</div> |
| </td> |
| </tr> |
| <tr id="i78" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setShort(int,int)">setShort</a></span>​(int index, |
| int value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the short value at the given write index in this buffer's backing data store.</div> |
| </td> |
| </tr> |
| <tr id="i79" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setWriteIndex(int)">setWriteIndex</a></span>​(int index)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the write index for this buffer.</div> |
| </td> |
| </tr> |
| <tr id="i80" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#skipBytes(int)">skipBytes</a></span>​(int skippedBytes)</code></th> |
| <td class="colLast"> |
| <div class="block">Increases the current <code>readIndex</code> of this buffer by the specified <code>length</code>.</div> |
| </td> |
| </tr> |
| <tr id="i81" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#slice()">slice</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Create a new ProtonBuffer whose contents are a subsequence of the contents of this |
| <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer"><code>ProtonBuffer</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i82" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#slice(int,int)">slice</a></span>​(int index, |
| int length)</code></th> |
| <td class="colLast"> |
| <div class="block">Create a new ProtonBuffer whose contents are a subsequence of the contents of this |
| <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer"><code>ProtonBuffer</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i83" class="rowColor"> |
| <td class="colFirst"><code>java.nio.ByteBuffer</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toByteBuffer()">toByteBuffer</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a ByteBuffer that represents the readable bytes contained in this buffer.</div> |
| </td> |
| </tr> |
| <tr id="i84" class="altColor"> |
| <td class="colFirst"><code>java.nio.ByteBuffer</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toByteBuffer(int,int)">toByteBuffer</a></span>​(int index, |
| int length)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a ByteBuffer that represents the given span of bytes from the readable portion |
| of this buffer.</div> |
| </td> |
| </tr> |
| <tr id="i85" class="rowColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i86" class="altColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString(java.nio.charset.Charset)">toString</a></span>​(java.nio.charset.Charset charset)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a String created from the buffer's underlying bytes using the specified |
| <code>Charset</code> for the newly created String.</div> |
| </td> |
| </tr> |
| <tr id="i87" class="rowColor"> |
| <td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#unwrap()">unwrap</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Return the underlying buffer object that backs this <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer"><code>ProtonBuffer</code></a> instance, or null |
| if there is no backing object.</div> |
| </td> |
| </tr> |
| <tr id="i88" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeBoolean(boolean)">writeBoolean</a></span>​(boolean value)</code></th> |
| <td class="colLast"> |
| <div class="block">Writes a single boolean to the buffer and advances the write index by one.</div> |
| </td> |
| </tr> |
| <tr id="i89" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeByte(int)">writeByte</a></span>​(int value)</code></th> |
| <td class="colLast"> |
| <div class="block">Writes a single byte to the buffer and advances the write index by one.</div> |
| </td> |
| </tr> |
| <tr id="i90" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeBytes(byte%5B%5D)">writeBytes</a></span>​(byte[] value)</code></th> |
| <td class="colLast"> |
| <div class="block">Writes the contents of the given byte array into the buffer and advances the write index by the |
| length of the given array.</div> |
| </td> |
| </tr> |
| <tr id="i91" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeBytes(byte%5B%5D,int)">writeBytes</a></span>​(byte[] value, |
| int length)</code></th> |
| <td class="colLast"> |
| <div class="block">Writes the contents of the given byte array into the buffer and advances the write index by the |
| length value given.</div> |
| </td> |
| </tr> |
| <tr id="i92" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeBytes(byte%5B%5D,int,int)">writeBytes</a></span>​(byte[] array, |
| int offset, |
| int length)</code></th> |
| <td class="colLast"> |
| <div class="block">Writes the contents of the given byte array into the buffer and advances the write index by the |
| length value given.</div> |
| </td> |
| </tr> |
| <tr id="i93" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeBytes(java.nio.ByteBuffer)">writeBytes</a></span>​(java.nio.ByteBuffer value)</code></th> |
| <td class="colLast"> |
| <div class="block">Transfers the specified source buffer's data to this buffer starting at |
| the current <code>writeIndex</code> until the source buffer's position |
| reaches its limit, and increases the <code>writeIndex</code> by the |
| number of the transferred bytes.</div> |
| </td> |
| </tr> |
| <tr id="i94" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer)">writeBytes</a></span>​(<a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Transfers the specified source buffer's data to this buffer starting at |
| the current <code>writeIndex</code> until the source buffer becomes |
| unreadable, and increases the <code>writeIndex</code> by the number of |
| the transferred bytes.</div> |
| </td> |
| </tr> |
| <tr id="i95" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer,int)">writeBytes</a></span>​(<a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> value, |
| int length)</code></th> |
| <td class="colLast"> |
| <div class="block">Transfers the specified source buffer's data to this buffer starting at |
| the current <code>writeIndex</code> and increases the <code>writeIndex</code> |
| by the number of the transferred bytes (= <code>length</code>).</div> |
| </td> |
| </tr> |
| <tr id="i96" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)">writeBytes</a></span>​(<a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> value, |
| int offset, |
| int length)</code></th> |
| <td class="colLast"> |
| <div class="block">Transfers the specified source buffer's data to this buffer starting at |
| the current <code>writeIndex</code> and increases the <code>writeIndex</code> |
| by the number of the transferred bytes (= <code>length</code>).</div> |
| </td> |
| </tr> |
| <tr id="i97" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeDouble(double)">writeDouble</a></span>​(double value)</code></th> |
| <td class="colLast"> |
| <div class="block">Writes a single double to the buffer and advances the write index by eight.</div> |
| </td> |
| </tr> |
| <tr id="i98" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeFloat(float)">writeFloat</a></span>​(float value)</code></th> |
| <td class="colLast"> |
| <div class="block">Writes a single float to the buffer and advances the write index by four.</div> |
| </td> |
| </tr> |
| <tr id="i99" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeInt(int)">writeInt</a></span>​(int value)</code></th> |
| <td class="colLast"> |
| <div class="block">Writes a single integer to the buffer and advances the write index by four.</div> |
| </td> |
| </tr> |
| <tr id="i100" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeLong(long)">writeLong</a></span>​(long value)</code></th> |
| <td class="colLast"> |
| <div class="block">Writes a single long to the buffer and advances the write index by eight.</div> |
| </td> |
| </tr> |
| <tr id="i101" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeShort(short)">writeShort</a></span>​(short value)</code></th> |
| <td class="colLast"> |
| <div class="block">Writes a single short to the buffer and advances the write index by two.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>(io.netty.buffer.ByteBuf)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ProtonNettyByteBuffer</h4> |
| <pre>public ProtonNettyByteBuffer​(io.netty.buffer.ByteBuf toWrap)</pre> |
| <div class="block">Creates a new <a href="ProtonNettyByteBuffer.html" title="class in org.apache.qpid.protonj2.buffer"><code>ProtonNettyByteBuffer</code></a> which wraps the given Netty <code>ByteBuf</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>toWrap</code> - The <code>ByteBuf</code> to wrap.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="<init>(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>ProtonNettyByteBuffer</h4> |
| <pre>public ProtonNettyByteBuffer​(int maximumCapacity)</pre> |
| <div class="block">Creates a <a href="ProtonNettyByteBuffer.html" title="class in org.apache.qpid.protonj2.buffer"><code>ProtonNettyByteBuffer</code></a> that wraps an Netty <code>ByteBuf</code> that is |
| not pooled and whose maximum capacity is set to the given value.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>maximumCapacity</code> - The maximum allowed capacity of the allocated Netty <code>ByteBuf</code>.</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="unwrap()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>unwrap</h4> |
| <pre class="methodSignature">public io.netty.buffer.ByteBuf unwrap()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#unwrap()">ProtonBuffer</a></code></span></div> |
| <div class="block">Return the underlying buffer object that backs this <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer"><code>ProtonBuffer</code></a> instance, or null |
| if there is no backing object. |
| |
| This method should be overridden in buffer abstraction when access to the underlying backing |
| store is needed such as when wrapping pooled resources that need explicit release calls.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#unwrap()">unwrap</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>an underlying buffer object or other backing store for this buffer.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="capacity()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>capacity</h4> |
| <pre class="methodSignature">public int capacity()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#capacity()">capacity</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the number of bytes this buffer can currently contain.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="capacity(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>capacity</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> capacity​(int newCapacity)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#capacity(int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Adjusts the capacity of this buffer. If the new capacity is less than the current |
| capacity, the content of this buffer is truncated. If the new capacity is greater |
| than the current capacity, the buffer is appended with unspecified data whose length is |
| new capacity - current capacity.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#capacity(int)">capacity</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>newCapacity</code> - the new maximum capacity value of this buffer.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this buffer for using in call chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="clear()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clear</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> clear()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#clear()">ProtonBuffer</a></code></span></div> |
| <div class="block">Reset the position markers of this buffer, this method is not required to reset |
| the data previously written to this buffer.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#clear()">clear</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this buffer for using in call chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="compareTo(org.apache.qpid.protonj2.buffer.ProtonBuffer)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>compareTo</h4> |
| <pre class="methodSignature">public int compareTo​(<a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> other)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#compareTo(org.apache.qpid.protonj2.buffer.ProtonBuffer)">ProtonBuffer</a></code></span></div> |
| <div class="block">Compares the remaining content of the current buffer with the remaining content of the |
| given buffer, which must not be null. Each byte is compared in turn as an unsigned value, |
| returning upon the first difference. If no difference is found before the end of one |
| buffer, the shorter buffer is considered less than the other, or else if the same length |
| then they are considered equal.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>compareTo</code> in interface <code>java.lang.Comparable<<a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#compareTo(org.apache.qpid.protonj2.buffer.ProtonBuffer)">compareTo</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a negative, zero, or positive integer when this buffer is less than, equal to, |
| or greater than the given buffer.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>Comparable.compareTo(Object)</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="copy()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copy</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> copy()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#copy()">ProtonBuffer</a></code></span></div> |
| <div class="block">Create a deep copy of the readable bytes of this ProtonBuffer, the returned buffer can |
| be modified without affecting the contents or position markers of this instance.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#copy()">copy</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a deep copy of this ProtonBuffer instance.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="copy(int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copy</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> copy​(int index, |
| int length)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#copy(int,int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Returns a copy of this buffer's sub-region. Modifying the content of |
| the returned buffer or this buffer does not affect each other at all. |
| This method does not modify the value returned from <a href="ProtonBuffer.html#getReadIndex()"><code>ProtonBuffer.getReadIndex()</code></a> |
| or <a href="ProtonBuffer.html#getWriteIndex()"><code>ProtonBuffer.getWriteIndex()</code></a> of this buffer.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#copy(int,int)">copy</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index in this buffer where the copy should begin</dd> |
| <dd><code>length</code> - The number of bytes to copy to the new buffer from this one.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new ProtonBuffer instance containing the copied bytes.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="duplicate()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>duplicate</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> duplicate()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#duplicate()">ProtonBuffer</a></code></span></div> |
| <div class="block">Create a duplicate of this ProtonBuffer instance that shares the same backing |
| data store and but maintains separate position index values. Changes to one buffer |
| are visible in any of its duplicates. This method does not copy the read or write |
| markers to the new buffer instance.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#duplicate()">duplicate</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new ProtonBuffer instance that shares the backing data as this one.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="ensureWritable(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ensureWritable</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> ensureWritable​(int minWritableBytes) |
| throws java.lang.IndexOutOfBoundsException, |
| java.lang.IllegalArgumentException</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#ensureWritable(int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Ensures that the requested number of bytes is available for write operations |
| in the current buffer, growing the buffer if needed to meet the requested |
| writable capacity.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#ensureWritable(int)">ensureWritable</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>minWritableBytes</code> - The number of bytes beyond the current write index needed.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this buffer for using in call chaining.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IndexOutOfBoundsException</code> - if the amount given would result in the buffer |
| exceeding the maximum capacity for this buffer.</dd> |
| <dd><code>java.lang.IllegalArgumentException</code> - if the amount given is less than zero.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getArray()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getArray</h4> |
| <pre class="methodSignature">public byte[] getArray()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#getArray()">ProtonBuffer</a></code></span></div> |
| <div class="block">Returns the backing array for this ProtonBuffer instance if there is such an array or |
| throws an exception if this ProtonBuffer implementation has no backing array. |
| <p> |
| Changes to the returned array are visible to other users of this ProtonBuffer.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#getArray()">getArray</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the backing byte array for this ProtonBuffer.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getArrayOffset()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getArrayOffset</h4> |
| <pre class="methodSignature">public int getArrayOffset()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#getArrayOffset()">getArrayOffset</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the offset of the first byte in the backing array belonging to this buffer.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getBoolean(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBoolean</h4> |
| <pre class="methodSignature">public boolean getBoolean​(int index)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#getBoolean(int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Gets a boolean from the specified index, this method will not modify the read or write |
| index.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#getBoolean(int)">getBoolean</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index into the buffer where the value should be read.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value read from the given index.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getByte(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getByte</h4> |
| <pre class="methodSignature">public byte getByte​(int index)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#getByte(int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Gets a byte from the specified index, this method will not modify the read or write |
| index.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#getByte(int)">getByte</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index into the buffer where the value should be read.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value read from the given index.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getBytes(int,byte[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> getBytes​(int index, |
| byte[] destination)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#getBytes(int,byte%5B%5D)">ProtonBuffer</a></code></span></div> |
| <div class="block">Transfers this buffer's data to the specified destination starting at |
| the specified absolute <code>index</code>. |
| This method does not modify <code>readIndex</code> or <code>writeIndex</code> of |
| this buffer</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#getBytes(int,byte%5B%5D)">getBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index into the buffer where the value should be read.</dd> |
| <dd><code>destination</code> - The buffer where the bytes read will be written to</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this buffer for chaining</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getBytes(int,java.nio.ByteBuffer)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> getBytes​(int index, |
| java.nio.ByteBuffer destination)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#getBytes(int,java.nio.ByteBuffer)">ProtonBuffer</a></code></span></div> |
| <div class="block">Transfers this buffer's data to the specified destination starting at |
| the specified absolute <code>index</code> until the destination's position |
| reaches its limit. |
| This method does not modify <code>#getReadIndex()</code> or <code>#getWriteIndex()</code> of |
| this buffer while the destination's <code>position</code> will be increased.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#getBytes(int,java.nio.ByteBuffer)">getBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index into the buffer where the value should be read.</dd> |
| <dd><code>destination</code> - The buffer where the bytes read will be written to</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this buffer for chaining</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> getBytes​(int index, |
| <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> destination)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#getBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer)">ProtonBuffer</a></code></span></div> |
| <div class="block">Transfers this buffer's data to the specified destination starting at |
| the specified absolute <code>index</code> until the destination becomes |
| non-writable. This method is basically same with |
| <a href="ProtonBuffer.html#getBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)"><code>ProtonBuffer.getBytes(int, ProtonBuffer, int, int)</code></a>, except that this |
| method increases the <code>writeIndex</code> of the destination by the |
| number of the transferred bytes while |
| <a href="ProtonBuffer.html#getBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)"><code>ProtonBuffer.getBytes(int, ProtonBuffer, int, int)</code></a> does not. |
| This method does not modify <code>readIndex</code> or <code>writeIndex</code> of |
| the source buffer (i.e. <code>this</code>).</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#getBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer)">getBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index into the buffer where the value should be read.</dd> |
| <dd><code>destination</code> - the destination buffer for the bytes to be read</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this buffer for chaining</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> getBytes​(int index, |
| <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> destination, |
| int length)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#getBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer,int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Transfers this buffer's data to the specified destination starting at |
| the specified absolute <code>index</code>. This method is basically same |
| with <a href="ProtonBuffer.html#getBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)"><code>ProtonBuffer.getBytes(int, ProtonBuffer, int, int)</code></a>, except that this |
| method increases the <code>writeIndex</code> of the destination by the |
| number of the transferred bytes while |
| <a href="ProtonBuffer.html#getBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)"><code>ProtonBuffer.getBytes(int, ProtonBuffer, int, int)</code></a> does not. |
| This method does not modify <code>readIndex</code> or <code>writeIndex</code> of |
| the source buffer (i.e. <code>this</code>).</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#getBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer,int)">getBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - the index in the buffer to start the read from</dd> |
| <dd><code>destination</code> - the destination buffer for the bytes to be read</dd> |
| <dd><code>length</code> - the number of bytes to transfer</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this buffer for chaining</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> getBytes​(int index, |
| <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> destination, |
| int offset, |
| int length)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#getBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Transfers this buffer's data to the specified destination starting at |
| the specified absolute <code>index</code>. |
| This method does not modify <code>readIndex</code> or <code>writeIndex</code> |
| of both the source (i.e. <code>this</code>) and the destination.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#getBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)">getBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index into the buffer where the value should be read.</dd> |
| <dd><code>destination</code> - The buffer where the bytes read will be written to</dd> |
| <dd><code>offset</code> - The index into the destination where the write starts</dd> |
| <dd><code>length</code> - The number of bytes to transfer</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this buffer for chaining</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getBytes(int,byte[],int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> getBytes​(int index, |
| byte[] destination, |
| int offset, |
| int length)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#getBytes(int,byte%5B%5D,int,int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Transfers this buffer's data to the specified destination starting at |
| the specified absolute <code>index</code>. |
| This method does not modify <code>#getReadIndex()</code> or <code>#getWriteIndex()</code> |
| of this buffer.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#getBytes(int,byte%5B%5D,int,int)">getBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index into the buffer where the value should be read.</dd> |
| <dd><code>destination</code> - The buffer where the bytes read will be written to</dd> |
| <dd><code>offset</code> - the offset into the destination to begin writing the bytes.</dd> |
| <dd><code>length</code> - the number of bytes to transfer from this buffer to the target buffer.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this buffer for chaining</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getChar(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getChar</h4> |
| <pre class="methodSignature">public char getChar​(int index)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#getChar(int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Gets a 2-byte char from the specified index, this method will not modify the read or write |
| index.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#getChar(int)">getChar</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index into the buffer where the value should be read.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value read from the given index.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getDouble(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDouble</h4> |
| <pre class="methodSignature">public double getDouble​(int index)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#getDouble(int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Gets a double from the specified index, this method will not modify the read or write |
| index.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#getDouble(int)">getDouble</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index into the buffer where the value should be read.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value read from the given index.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getFloat(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFloat</h4> |
| <pre class="methodSignature">public float getFloat​(int index)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#getFloat(int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Gets a float from the specified index, this method will not modify the read or write |
| index.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#getFloat(int)">getFloat</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index into the buffer where the value should be read.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value read from the given index.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getInt(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getInt</h4> |
| <pre class="methodSignature">public int getInt​(int index)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#getInt(int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Gets a int from the specified index, this method will not modify the read or write |
| index.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#getInt(int)">getInt</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index into the buffer where the value should be read.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value read from the given index.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getLong(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLong</h4> |
| <pre class="methodSignature">public long getLong​(int index)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#getLong(int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Gets a long from the specified index, this method will not modify the read or write |
| index.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#getLong(int)">getLong</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index into the buffer where the value should be read.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value read from the given index.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getReadIndex()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getReadIndex</h4> |
| <pre class="methodSignature">public int getReadIndex()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#getReadIndex()">getReadIndex</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the current value of the read index for this buffer.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getReadableBytes()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getReadableBytes</h4> |
| <pre class="methodSignature">public int getReadableBytes()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#getReadableBytes()">getReadableBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the number of bytes available for reading from this buffer.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getShort(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getShort</h4> |
| <pre class="methodSignature">public short getShort​(int index)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#getShort(int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Gets a short from the specified index, this method will not modify the read or write |
| index.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#getShort(int)">getShort</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index into the buffer where the value should be read.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value read from the given index.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getUnsignedByte(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getUnsignedByte</h4> |
| <pre class="methodSignature">public short getUnsignedByte​(int index)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#getUnsignedByte(int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Gets a unsigned byte from the specified index, this method will not modify the read or write |
| index.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#getUnsignedByte(int)">getUnsignedByte</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index into the buffer where the value should be read.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value read from the given index.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getUnsignedInt(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getUnsignedInt</h4> |
| <pre class="methodSignature">public long getUnsignedInt​(int index)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#getUnsignedInt(int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Gets a unsigned int from the specified index, this method will not modify the read or write |
| index.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#getUnsignedInt(int)">getUnsignedInt</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index into the buffer where the value should be read.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value read from the given index.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getUnsignedShort(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getUnsignedShort</h4> |
| <pre class="methodSignature">public int getUnsignedShort​(int index)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#getUnsignedShort(int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Gets a unsigned short from the specified index, this method will not modify the read or write |
| index.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#getUnsignedShort(int)">getUnsignedShort</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index into the buffer where the value should be read.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value read from the given index.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getWritableBytes()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getWritableBytes</h4> |
| <pre class="methodSignature">public int getWritableBytes()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#getWritableBytes()">getWritableBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the number of bytes that can be written to this buffer before the limit is hit.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getMaxWritableBytes()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMaxWritableBytes</h4> |
| <pre class="methodSignature">public int getMaxWritableBytes()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#getMaxWritableBytes()">ProtonBuffer</a></code></span></div> |
| <div class="block">Gets the current maximum number of bytes that can be written to this buffer. This is |
| the same value that can be computed by subtracting the current write index from the |
| maximum buffer capacity.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#getMaxWritableBytes()">getMaxWritableBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the maximum number of bytes that can be written to this buffer before the limit is hit.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getWriteIndex()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getWriteIndex</h4> |
| <pre class="methodSignature">public int getWriteIndex()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#getWriteIndex()">getWriteIndex</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the current value of the write index for this buffer.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="hasArray()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hasArray</h4> |
| <pre class="methodSignature">public boolean hasArray()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#hasArray()">hasArray</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if this buffer has a backing byte array that can be accessed.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isReadable()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isReadable</h4> |
| <pre class="methodSignature">public boolean isReadable()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#isReadable()">isReadable</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the read index is less than the write index.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isReadable(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isReadable</h4> |
| <pre class="methodSignature">public boolean isReadable​(int minReadableBytes)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#isReadable(int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Check if the given number of bytes can be read from the buffer.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#isReadable(int)">isReadable</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>minReadableBytes</code> - the size that is desired in readable bytes</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the buffer has at least the given number of readable bytes remaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isWritable()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isWritable</h4> |
| <pre class="methodSignature">public boolean isWritable()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#isWritable()">isWritable</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the buffer has bytes remaining between the write index and the capacity.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isWritable(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isWritable</h4> |
| <pre class="methodSignature">public boolean isWritable​(int minWritableBytes)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#isWritable(int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Check if the requested number of bytes can be written into this buffer.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#isWritable(int)">isWritable</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>minWritableBytes</code> - The number of bytes that is being checked for writability.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the buffer has space left for the given number of bytes to be written.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="markReadIndex()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>markReadIndex</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> markReadIndex()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#markReadIndex()">ProtonBuffer</a></code></span></div> |
| <div class="block">Marks the current read index so that it can later be restored by a call to |
| <a href="ProtonBuffer.html#resetReadIndex()"><code>ProtonBuffer.resetReadIndex()</code></a>, the initial mark value is 0.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#markReadIndex()">markReadIndex</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this buffer for use in chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="markWriteIndex()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>markWriteIndex</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> markWriteIndex()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#markWriteIndex()">ProtonBuffer</a></code></span></div> |
| <div class="block">Marks the current write index so that it can later be restored by a call to |
| <a href="ProtonBuffer.html#resetWriteIndex()"><code>ProtonBuffer.resetWriteIndex()</code></a>, the initial mark value is 0.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#markWriteIndex()">markWriteIndex</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this buffer for use in chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="maxCapacity()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>maxCapacity</h4> |
| <pre class="methodSignature">public int maxCapacity()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#maxCapacity()">ProtonBuffer</a></code></span></div> |
| <div class="block">Returns the number of bytes that this buffer is allowed to grow to when write |
| operations exceed the current capacity value.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#maxCapacity()">maxCapacity</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the number of bytes this buffer is allowed to grow to.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readBoolean()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readBoolean</h4> |
| <pre class="methodSignature">public boolean readBoolean()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#readBoolean()">ProtonBuffer</a></code></span></div> |
| <div class="block">Reads a boolean value from the buffer and advances the read index by one.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#readBoolean()">readBoolean</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>boolean value read from the buffer.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readByte()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readByte</h4> |
| <pre class="methodSignature">public byte readByte()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#readByte()">ProtonBuffer</a></code></span></div> |
| <div class="block">Reads one byte from the buffer and advances the read index by one.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#readByte()">readByte</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a single byte from the ProtonBuffer.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readBytes(byte[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> readBytes​(byte[] destination)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#readBytes(byte%5B%5D)">ProtonBuffer</a></code></span></div> |
| <div class="block">Reads bytes from this buffer and writes them into the destination byte array incrementing |
| the read index by the value of the length of the destination array.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#readBytes(byte%5B%5D)">readBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>destination</code> - The byte array to write into.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readBytes(java.nio.ByteBuffer)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> readBytes​(java.nio.ByteBuffer destination)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#readBytes(java.nio.ByteBuffer)">ProtonBuffer</a></code></span></div> |
| <div class="block">Transfers this buffer's data to the specified destination starting at |
| the current <code>readIndex</code> until the destination's position |
| reaches its limit, and increases the <code>readIndex</code> by the |
| number of the transferred bytes.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#readBytes(java.nio.ByteBuffer)">readBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>destination</code> - The target ByteBuffer to write into.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readBytes(byte[],int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> readBytes​(byte[] destination, |
| int length)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#readBytes(byte%5B%5D,int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Reads bytes from this buffer and writes them into the destination byte array incrementing |
| the read index by the length value passed.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#readBytes(byte%5B%5D,int)">readBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>destination</code> - The byte array to write into.</dd> |
| <dd><code>length</code> - The number of bytes to read into the given array.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readBytes(byte[],int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> readBytes​(byte[] destination, |
| int offset, |
| int length)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#readBytes(byte%5B%5D,int,int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Reads bytes from this buffer and writes them into the destination byte array incrementing |
| the read index by the length value passed, the bytes are read into the given buffer starting |
| from the given offset value.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#readBytes(byte%5B%5D,int,int)">readBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>destination</code> - The byte array to write into.</dd> |
| <dd><code>offset</code> - The offset into the given array where bytes are written.</dd> |
| <dd><code>length</code> - The number of bytes to read into the given array.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> readBytes​(<a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> destination)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#readBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer)">ProtonBuffer</a></code></span></div> |
| <div class="block">Reads bytes from this buffer and writes them into the destination ProtonBuffer incrementing |
| the read index by the value of the number of bytes written to the target. The number of bytes |
| written will be the equal to the writable bytes of the target buffer. The write index of the |
| target buffer must be incremented number of bytes written into it.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#readBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer)">readBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>destination</code> - The ProtonBuffer to write into.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> readBytes​(<a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> destination, |
| int length)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#readBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer,int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Reads bytes from this buffer and writes them into the destination ProtonBuffer incrementing |
| the read index by the number of bytes written. The write index of the target buffer must be |
| incremented number of bytes written into it.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#readBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer,int)">readBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>destination</code> - The ProtonBuffer to write into.</dd> |
| <dd><code>length</code> - The number of bytes to read into the given buffer.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> readBytes​(<a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> destination, |
| int offset, |
| int length)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#readBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Transfers this buffer's data to the specified destination starting at |
| the current <code>readIndex</code> and increases the <code>readIndex</code> |
| by the number of the transferred bytes (= <code>length</code>).</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#readBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)">readBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>destination</code> - The ProtonBuffer to write into.</dd> |
| <dd><code>offset</code> - The offset into the given buffer where bytes are written.</dd> |
| <dd><code>length</code> - The number of bytes to read into the given buffer.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readDouble()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readDouble</h4> |
| <pre class="methodSignature">public double readDouble()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#readDouble()">ProtonBuffer</a></code></span></div> |
| <div class="block">Reads a double value from the buffer and advances the read index by eight.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#readDouble()">readDouble</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>double value read from the buffer.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readFloat()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readFloat</h4> |
| <pre class="methodSignature">public float readFloat()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#readFloat()">ProtonBuffer</a></code></span></div> |
| <div class="block">Reads a float value from the buffer and advances the read index by four.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#readFloat()">readFloat</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>float value read from the buffer.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readInt()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readInt</h4> |
| <pre class="methodSignature">public int readInt()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#readInt()">ProtonBuffer</a></code></span></div> |
| <div class="block">Reads a integer value from the buffer and advances the read index by four.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#readInt()">readInt</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>integer value read from the buffer.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readLong()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readLong</h4> |
| <pre class="methodSignature">public long readLong()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#readLong()">ProtonBuffer</a></code></span></div> |
| <div class="block">Reads a long value from the buffer and advances the read index by eight.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#readLong()">readLong</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>long value read from the buffer.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readShort()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readShort</h4> |
| <pre class="methodSignature">public short readShort()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#readShort()">ProtonBuffer</a></code></span></div> |
| <div class="block">Reads a short value from the buffer and advances the read index by two.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#readShort()">readShort</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>short value read from the buffer.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="resetReadIndex()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>resetReadIndex</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> resetReadIndex()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#resetReadIndex()">ProtonBuffer</a></code></span></div> |
| <div class="block">Resets the current read index to the previously marked value.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#resetReadIndex()">resetReadIndex</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this buffer for use in chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="resetWriteIndex()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>resetWriteIndex</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> resetWriteIndex()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#resetWriteIndex()">ProtonBuffer</a></code></span></div> |
| <div class="block">Resets the current write index to the previously marked value.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#resetWriteIndex()">resetWriteIndex</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this buffer for use in chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setBoolean(int,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setBoolean</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> setBoolean​(int index, |
| boolean value)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#setBoolean(int,boolean)">ProtonBuffer</a></code></span></div> |
| <div class="block">Sets the boolean value at the given write index in this buffer's backing data store.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#setBoolean(int,boolean)">setBoolean</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index to start the write from.</dd> |
| <dd><code>value</code> - The value to write at the given index.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a reference to this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setByte(int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setByte</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> setByte​(int index, |
| int value)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#setByte(int,int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Sets the byte value at the given write index in this buffer's backing data store.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#setByte(int,int)">setByte</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index to start the write from.</dd> |
| <dd><code>value</code> - The value to write at the given index.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a reference to this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setBytes(int,byte[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> setBytes​(int index, |
| byte[] value)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#setBytes(int,byte%5B%5D)">ProtonBuffer</a></code></span></div> |
| <div class="block">Transfers the specified source array's data to this buffer starting at |
| the specified absolute <code>index</code>. |
| This method does not modify <code>readIndex</code> or <code>writeIndex</code> of |
| this buffer.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#setBytes(int,byte%5B%5D)">setBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index in this buffer where the write operation starts.</dd> |
| <dd><code>value</code> - The source buffer from which the bytes are read.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this buffer for chaining</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setBytes(int,java.nio.ByteBuffer)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> setBytes​(int index, |
| java.nio.ByteBuffer value)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#setBytes(int,java.nio.ByteBuffer)">ProtonBuffer</a></code></span></div> |
| <div class="block">Transfers the specified source buffer's data to this buffer starting at |
| the specified absolute <code>index</code> until the source buffer's position |
| reaches its limit. |
| This method does not modify <code>readIndex</code> or <code>writeIndex</code> of |
| this buffer.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#setBytes(int,java.nio.ByteBuffer)">setBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index in this buffer where the write operation starts.</dd> |
| <dd><code>value</code> - The source buffer from which the bytes are read.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this buffer for chaining</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> setBytes​(int index, |
| <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> value)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#setBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer)">ProtonBuffer</a></code></span></div> |
| <div class="block">Transfers the specified source buffer's data to this buffer starting at |
| the specified absolute <code>index</code> until the source buffer becomes |
| unreadable. This method is basically same with |
| <a href="ProtonBuffer.html#setBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)"><code>ProtonBuffer.setBytes(int, ProtonBuffer, int, int)</code></a>, except that this |
| method increases the <code>readIndex</code> of the source buffer by |
| the number of the transferred bytes while |
| <a href="ProtonBuffer.html#setBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)"><code>ProtonBuffer.setBytes(int, ProtonBuffer, int, int)</code></a> does not. |
| This method does not modify <code>readIndex</code> or <code>writeIndex</code> of |
| the source buffer (i.e. <code>this</code>).</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#setBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer)">setBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index in this buffer where the write operation starts.</dd> |
| <dd><code>value</code> - The source buffer from which the bytes are read.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this buffer for chaining</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> setBytes​(int index, |
| <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> value, |
| int length)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#setBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer,int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Transfers the specified source buffer's data to this buffer starting at |
| the specified absolute <code>index</code>. This method is basically same |
| with <a href="ProtonBuffer.html#setBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)"><code>ProtonBuffer.setBytes(int, ProtonBuffer, int, int)</code></a>, except that this |
| method increases the <code>readIndex</code> of the source buffer by |
| the number of the transferred bytes while |
| <a href="ProtonBuffer.html#setBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)"><code>ProtonBuffer.setBytes(int, ProtonBuffer, int, int)</code></a> does not. |
| This method does not modify <code>readIndex</code> or <code>writeIndex</code> of |
| the source buffer (i.e. <code>this</code>).</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#setBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer,int)">setBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index in this buffer where the write operation starts.</dd> |
| <dd><code>value</code> - The source buffer from which the bytes are read.</dd> |
| <dd><code>length</code> - The number of bytes to transfer</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this buffer for chaining</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> setBytes​(int index, |
| <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> value, |
| int offset, |
| int length)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#setBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Transfers the specified source buffer's data to this buffer starting at |
| the specified absolute <code>index</code>. |
| This method does not modify <code>readIndex</code> or <code>writeIndex</code> |
| of both the source (i.e. <code>this</code>) and the destination.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#setBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)">setBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index in this buffer where the write operation starts.</dd> |
| <dd><code>value</code> - The source buffer from which the bytes are read.</dd> |
| <dd><code>offset</code> - The first index of the source</dd> |
| <dd><code>length</code> - The number of bytes to transfer</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this buffer for chaining</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setBytes(int,byte[],int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> setBytes​(int index, |
| byte[] value, |
| int offset, |
| int length)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#setBytes(int,byte%5B%5D,int,int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Transfers the specified source array's data to this buffer starting at |
| the specified absolute <code>index</code>. |
| This method does not modify <code>readIndex</code> or <code>writeIndex</code> of |
| this buffer.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#setBytes(int,byte%5B%5D,int,int)">setBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index in this buffer where the write operation starts.</dd> |
| <dd><code>value</code> - The source buffer from which the bytes are read.</dd> |
| <dd><code>offset</code> - The first index of the source</dd> |
| <dd><code>length</code> - The number of bytes to transfer</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this buffer for chaining</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setChar(int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setChar</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> setChar​(int index, |
| int value)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#setChar(int,int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Sets the char value at the given write index in this buffer's backing data store.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#setChar(int,int)">setChar</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index to start the write from.</dd> |
| <dd><code>value</code> - The value to write at the given index.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a reference to this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setDouble(int,double)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDouble</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> setDouble​(int index, |
| double value)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#setDouble(int,double)">ProtonBuffer</a></code></span></div> |
| <div class="block">Sets the double value at the given write index in this buffer's backing data store.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#setDouble(int,double)">setDouble</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index to start the write from.</dd> |
| <dd><code>value</code> - The value to write at the given index.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a reference to this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setFloat(int,float)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setFloat</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> setFloat​(int index, |
| float value)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#setFloat(int,float)">ProtonBuffer</a></code></span></div> |
| <div class="block">Sets the float value at the given write index in this buffer's backing data store.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#setFloat(int,float)">setFloat</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index to start the write from.</dd> |
| <dd><code>value</code> - The value to write at the given index.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a reference to this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setIndex(int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setIndex</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> setIndex​(int readIndex, |
| int writeIndex)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#setIndex(int,int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Used to set the read index and the write index in one call. This methods allows for an update |
| to the read index and write index to values that could not be set using simple setReadIndex and |
| setWriteIndex call where the values would violate the constraints placed on them by the value |
| of the other index.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#setIndex(int,int)">setIndex</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>readIndex</code> - The new read index to assign to this buffer.</dd> |
| <dd><code>writeIndex</code> - The new write index to assign to this buffer.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this buffer for use in chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setInt(int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setInt</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> setInt​(int index, |
| int value)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#setInt(int,int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Sets the int value at the given write index in this buffer's backing data store.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#setInt(int,int)">setInt</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index to start the write from.</dd> |
| <dd><code>value</code> - The value to write at the given index.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a reference to this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setLong(int,long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setLong</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> setLong​(int index, |
| long value)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#setLong(int,long)">ProtonBuffer</a></code></span></div> |
| <div class="block">Sets the long value at the given write index in this buffer's backing data store.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#setLong(int,long)">setLong</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index to start the write from.</dd> |
| <dd><code>value</code> - The value to write at the given index.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a reference to this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setReadIndex(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setReadIndex</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> setReadIndex​(int index)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#setReadIndex(int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Sets the read index for this buffer.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#setReadIndex(int)">setReadIndex</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index into the buffer where the read index should be positioned.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this buffer for use in chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setShort(int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setShort</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> setShort​(int index, |
| int value)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#setShort(int,int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Sets the short value at the given write index in this buffer's backing data store.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#setShort(int,int)">setShort</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index to start the write from.</dd> |
| <dd><code>value</code> - The value to write at the given index.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a reference to this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setWriteIndex(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setWriteIndex</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> setWriteIndex​(int index)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#setWriteIndex(int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Sets the write index for this buffer.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#setWriteIndex(int)">setWriteIndex</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index into the buffer where the write index should be positioned.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this buffer for use in chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="skipBytes(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>skipBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> skipBytes​(int skippedBytes)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#skipBytes(int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Increases the current <code>readIndex</code> of this buffer by the specified <code>length</code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#skipBytes(int)">skipBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>skippedBytes</code> - the number of bytes in this buffer to skip.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="slice()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>slice</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> slice()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#slice()">ProtonBuffer</a></code></span></div> |
| <div class="block">Create a new ProtonBuffer whose contents are a subsequence of the contents of this |
| <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer"><code>ProtonBuffer</code></a>. |
| <p> |
| The starting point of the new buffer starts at this buffer's current position, the |
| marks and limits of the new buffer will be independent of this buffer however changes |
| to the data backing the buffer will be visible in this buffer.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#slice()">slice</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer"><code>ProtonBuffer</code></a> whose contents are a subsequence of this buffer.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="slice(int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>slice</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> slice​(int index, |
| int length)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#slice(int,int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Create a new ProtonBuffer whose contents are a subsequence of the contents of this |
| <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer"><code>ProtonBuffer</code></a>. |
| <p> |
| The starting point of the new buffer starts at given index into this buffer and spans |
| the number of bytes given by the length. Changes to the contents of this buffer or to |
| the produced slice buffer are visible in the other.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#slice(int,int)">slice</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The index in this buffer where the slice should begin.</dd> |
| <dd><code>length</code> - The number of bytes to make visible to the new buffer from this one.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer"><code>ProtonBuffer</code></a> whose contents are a subsequence of this buffer.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="toByteBuffer()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toByteBuffer</h4> |
| <pre class="methodSignature">public java.nio.ByteBuffer toByteBuffer()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#toByteBuffer()">ProtonBuffer</a></code></span></div> |
| <div class="block">Returns a ByteBuffer that represents the readable bytes contained in this buffer. |
| <p> |
| This method should attempt to return a ByteBuffer that shares the backing data store |
| with this buffer however if that is not possible it is permitted that the returned |
| ByteBuffer contain a copy of the readable bytes of this ProtonBuffer.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#toByteBuffer()">toByteBuffer</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a ByteBuffer that represents the readable bytes of this buffer.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="toByteBuffer(int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toByteBuffer</h4> |
| <pre class="methodSignature">public java.nio.ByteBuffer toByteBuffer​(int index, |
| int length)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#toByteBuffer(int,int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Returns a ByteBuffer that represents the given span of bytes from the readable portion |
| of this buffer. |
| <p> |
| This method should attempt to return a ByteBuffer that shares the backing data store |
| with this buffer however if that is not possible it is permitted that the returned |
| ByteBuffer contain a copy of the readable bytes of this ProtonBuffer.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#toByteBuffer(int,int)">toByteBuffer</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The starting index in this where the ByteBuffer view should begin.</dd> |
| <dd><code>length</code> - The number of bytes to include in the ByteBuffer view.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a ByteBuffer that represents the given view of this buffers readable bytes.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="toString()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre class="methodSignature">public java.lang.String toString()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>toString</code> in class <code>java.lang.Object</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="toString(java.nio.charset.Charset)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre class="methodSignature">public java.lang.String toString​(java.nio.charset.Charset charset)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#toString(java.nio.charset.Charset)">ProtonBuffer</a></code></span></div> |
| <div class="block">Returns a String created from the buffer's underlying bytes using the specified |
| <code>Charset</code> for the newly created String.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#toString(java.nio.charset.Charset)">toString</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>charset</code> - the <code>Charset</code> to use to construct the new string.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a string created from the buffer's underlying bytes using the given <code>Charset</code>.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="writeBoolean(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeBoolean</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> writeBoolean​(boolean value)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#writeBoolean(boolean)">ProtonBuffer</a></code></span></div> |
| <div class="block">Writes a single boolean to the buffer and advances the write index by one.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#writeBoolean(boolean)">writeBoolean</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - The boolean to write into the buffer.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="writeByte(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeByte</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> writeByte​(int value)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#writeByte(int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Writes a single byte to the buffer and advances the write index by one.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#writeByte(int)">writeByte</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - The byte to write into the buffer.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="writeBytes(java.nio.ByteBuffer)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> writeBytes​(java.nio.ByteBuffer value)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#writeBytes(java.nio.ByteBuffer)">ProtonBuffer</a></code></span></div> |
| <div class="block">Transfers the specified source buffer's data to this buffer starting at |
| the current <code>writeIndex</code> until the source buffer's position |
| reaches its limit, and increases the <code>writeIndex</code> by the |
| number of the transferred bytes.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#writeBytes(java.nio.ByteBuffer)">writeBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - The source buffer from which the bytes are read.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this buffer for chaining</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="writeBytes(byte[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> writeBytes​(byte[] value)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#writeBytes(byte%5B%5D)">ProtonBuffer</a></code></span></div> |
| <div class="block">Writes the contents of the given byte array into the buffer and advances the write index by the |
| length of the given array.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#writeBytes(byte%5B%5D)">writeBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - The byte array to write into the buffer.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="writeBytes(byte[],int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> writeBytes​(byte[] value, |
| int length)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#writeBytes(byte%5B%5D,int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Writes the contents of the given byte array into the buffer and advances the write index by the |
| length value given.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#writeBytes(byte%5B%5D,int)">writeBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - The byte array to write into the buffer.</dd> |
| <dd><code>length</code> - The number of bytes to write from the given array into this buffer</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="writeBytes(byte[],int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> writeBytes​(byte[] array, |
| int offset, |
| int length)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#writeBytes(byte%5B%5D,int,int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Writes the contents of the given byte array into the buffer and advances the write index by the |
| length value given. The bytes written into this buffer are read starting at the given offset |
| into the passed in byte array.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#writeBytes(byte%5B%5D,int,int)">writeBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>array</code> - The byte array to write into the buffer.</dd> |
| <dd><code>offset</code> - The offset into the given array to start reading from.</dd> |
| <dd><code>length</code> - The number of bytes to write from the given array into this buffer</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="writeBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> writeBytes​(<a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> value)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#writeBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer)">ProtonBuffer</a></code></span></div> |
| <div class="block">Transfers the specified source buffer's data to this buffer starting at |
| the current <code>writeIndex</code> until the source buffer becomes |
| unreadable, and increases the <code>writeIndex</code> by the number of |
| the transferred bytes. This method is basically same with |
| <a href="ProtonBuffer.html#writeBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)"><code>ProtonBuffer.writeBytes(ProtonBuffer, int, int)</code></a>, except that this method |
| increases the <code>readIndex</code> of the source buffer by the number of |
| the transferred bytes while <a href="ProtonBuffer.html#writeBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)"><code>ProtonBuffer.writeBytes(ProtonBuffer, int, int)</code></a> |
| does not.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#writeBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer)">writeBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - The source buffer from which the bytes are read.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="writeBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> writeBytes​(<a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> value, |
| int length)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#writeBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer,int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Transfers the specified source buffer's data to this buffer starting at |
| the current <code>writeIndex</code> and increases the <code>writeIndex</code> |
| by the number of the transferred bytes (= <code>length</code>). This method |
| is basically same with <a href="ProtonBuffer.html#writeBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)"><code>ProtonBuffer.writeBytes(ProtonBuffer, int, int)</code></a>, |
| except that this method increases the <code>readIndex</code> of the source |
| buffer by the number of the transferred bytes (= <code>length</code>) while |
| <a href="ProtonBuffer.html#writeBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)"><code>ProtonBuffer.writeBytes(ProtonBuffer, int, int)</code></a> does not.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#writeBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer,int)">writeBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - The source buffer from which the bytes are read.</dd> |
| <dd><code>length</code> - The number of bytes to transfer</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this buffer for chaining</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="writeBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeBytes</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> writeBytes​(<a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> value, |
| int offset, |
| int length)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#writeBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Transfers the specified source buffer's data to this buffer starting at |
| the current <code>writeIndex</code> and increases the <code>writeIndex</code> |
| by the number of the transferred bytes (= <code>length</code>).</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#writeBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)">writeBytes</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - The source buffer from which the bytes are read.</dd> |
| <dd><code>offset</code> - The first index of the source</dd> |
| <dd><code>length</code> - The number of bytes to transfer</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this buffer for chaining</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="writeDouble(double)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeDouble</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> writeDouble​(double value)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#writeDouble(double)">ProtonBuffer</a></code></span></div> |
| <div class="block">Writes a single double to the buffer and advances the write index by eight.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#writeDouble(double)">writeDouble</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - The double to write into the buffer.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="writeFloat(float)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeFloat</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> writeFloat​(float value)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#writeFloat(float)">ProtonBuffer</a></code></span></div> |
| <div class="block">Writes a single float to the buffer and advances the write index by four.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#writeFloat(float)">writeFloat</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - The float to write into the buffer.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="writeInt(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeInt</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> writeInt​(int value)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#writeInt(int)">ProtonBuffer</a></code></span></div> |
| <div class="block">Writes a single integer to the buffer and advances the write index by four.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#writeInt(int)">writeInt</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - The integer to write into the buffer.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="writeLong(long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeLong</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> writeLong​(long value)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#writeLong(long)">ProtonBuffer</a></code></span></div> |
| <div class="block">Writes a single long to the buffer and advances the write index by eight.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#writeLong(long)">writeLong</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - The long to write into the buffer.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="writeShort(short)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeShort</h4> |
| <pre class="methodSignature">public <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> writeShort​(short value)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ProtonBuffer.html#writeShort(short)">ProtonBuffer</a></code></span></div> |
| <div class="block">Writes a single short to the buffer and advances the write index by two.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ProtonBuffer.html#writeShort(short)">writeShort</a></code> in interface <code><a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - The short to write into the buffer.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this ProtonBuffer for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="hashCode()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hashCode</h4> |
| <pre class="methodSignature">public int hashCode()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>hashCode</code> in class <code>java.lang.Object</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="equals(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>equals</h4> |
| <pre class="methodSignature">public boolean equals​(java.lang.Object other)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>equals</code> in class <code>java.lang.Object</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="checkReadableBytes(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkReadableBytes</h4> |
| <pre class="methodSignature">protected final void checkReadableBytes​(int minimumReadableBytes)</pre> |
| </li> |
| </ul> |
| <a id="isOutOfBounds(int,int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isOutOfBounds</h4> |
| <pre class="methodSignature">protected static boolean isOutOfBounds​(int index, |
| int length, |
| int capacity)</pre> |
| </li> |
| </ul> |
| <a id="checkIndex(int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkIndex</h4> |
| <pre class="methodSignature">protected final void checkIndex​(int index, |
| int fieldLength)</pre> |
| </li> |
| </ul> |
| <a id="checkSourceIndex(int,int,int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkSourceIndex</h4> |
| <pre class="methodSignature">protected final void checkSourceIndex​(int index, |
| int length, |
| int srcIndex, |
| int srcCapacity)</pre> |
| </li> |
| </ul> |
| <a id="checkDestinationIndex(int,int,int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>checkDestinationIndex</h4> |
| <pre class="methodSignature">protected final void checkDestinationIndex​(int index, |
| int length, |
| int dstIndex, |
| int dstCapacity)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ProtonNettyByteBuffer.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" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2021 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |