| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>ProtonAbstractBuffer (Qpid ProtonJ2 Parent 1.0.0-M9 API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="ProtonAbstractBuffer (Qpid ProtonJ2 Parent 1.0.0-M9 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":6,"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":9,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":6,"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}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <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/ProtonAbstractBuffer.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </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><a href="#field.detail">Field</a> | </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 ProtonAbstractBuffer" class="title">Class ProtonAbstractBuffer</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.qpid.protonj2.buffer.ProtonAbstractBuffer</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><<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> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><code><a href="ProtonByteBuffer.html" title="class in org.apache.qpid.protonj2.buffer">ProtonByteBuffer</a></code>, <code><a href="ProtonCompositeBuffer.html" title="class in org.apache.qpid.protonj2.buffer">ProtonCompositeBuffer</a></code>, <code><a href="ProtonDuplicatedBuffer.html" title="class in org.apache.qpid.protonj2.buffer">ProtonDuplicatedBuffer</a></code>, <code><a href="ProtonNioByteBuffer.html" title="class in org.apache.qpid.protonj2.buffer">ProtonNioByteBuffer</a></code>, <code><a href="ProtonSlicedBuffer.html" title="class in org.apache.qpid.protonj2.buffer">ProtonSlicedBuffer</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public abstract class <span class="typeNameLabel">ProtonAbstractBuffer</span> |
| extends <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> |
| implements <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></pre> |
| <div class="block">Base class used to hold the common implementation details for Proton buffer |
| implementations.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Field</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#markedReadIndex">markedReadIndex</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#markedWriteIndex">markedWriteIndex</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readIndex">readIndex</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeIndex">writeIndex</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ======== 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">Modifier</th> |
| <th class="colSecond" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected </code></td> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(int)">ProtonAbstractBuffer</a></span>​(int maximumCapacity)</code></th> |
| <td class="colLast"> </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="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract 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>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#adjustIndexMarks(int)">adjustIndexMarks</a></span>​(int decrement)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <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="i2" class="altColor"> |
| <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="i3" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#checkNewCapacity(int)">checkNewCapacity</a></span>​(int newCapacity)</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 read and write offsets to zero and clears the position markers if |
| set previously, 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>abstract <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>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> other)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i13" 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="i14" 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)">getBytes</a></span>​(int index, |
| byte[] target)</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="i15" 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)">getBytes</a></span>​(int index, |
| <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> target)</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="i16" 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)">getBytes</a></span>​(int index, |
| <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> target, |
| 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="i17" 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="i18" 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="i19" 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="i20" 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="i21" 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="i22" 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="i23" class="rowColor"> |
| <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="i24" class="altColor"> |
| <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="i25" class="rowColor"> |
| <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="i26" class="altColor"> |
| <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="i27" class="rowColor"> |
| <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="i28" 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="i29" 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="i30" 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="i31" 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 numBytes)</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="i32" 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="i33" 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 numBytes)</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="i34" 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="i35" 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="i36" 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="i37" 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="i38" 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="i39" 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[] target)</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="i40" 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[] target, |
| 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="i41" 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[] target, |
| 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="i42" 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>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio" class="externalLink">ByteBuffer</a> dst)</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="i43" 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> target)</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="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="#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> target, |
| 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="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="#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> target, |
| 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="i46" 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="i47" 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="i48" 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="i49" 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="i50" 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="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="#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="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="#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="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="#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="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="#setBytes(int,byte%5B%5D)">setBytes</a></span>​(int index, |
| byte[] src)</code></th> |
| <td class="colLast"> |
| <div class="block">Transfers the specified source array's data to this buffer starting at |
| the specified absolute <code>index</code>.</div> |
| </td> |
| </tr> |
| <tr id="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="#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> source)</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="i56" 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)">setBytes</a></span>​(int index, |
| <a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> source, |
| 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="i57" 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="i58" 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="i59" 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="i60" 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="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="#setReadIndex(int)">setReadIndex</a></span>​(int value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the read index for this buffer.</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="#setWriteIndex(int)">setWriteIndex</a></span>​(int value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the write index for this buffer.</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="#skipBytes(int)">skipBytes</a></span>​(int length)</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="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="#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="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="#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="i66" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio" class="externalLink">ByteBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toByteBuffer()">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="i67" class="rowColor"> |
| <td class="colFirst"><code>abstract <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio" class="externalLink">ByteBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toByteBuffer(int,int)">toByteBuffer</a></span>​(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="i68" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i69" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString(java.nio.charset.Charset)">toString</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset" class="externalLink">Charset</a> charset)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a String created from the buffer's underlying bytes using the specified |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset" class="externalLink"><code>Charset</code></a> for the newly created String.</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="#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="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="#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="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="#writeBytes(byte%5B%5D)">writeBytes</a></span>​(byte[] source)</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="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="#writeBytes(byte%5B%5D,int)">writeBytes</a></span>​(byte[] source, |
| 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="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="#writeBytes(byte%5B%5D,int,int)">writeBytes</a></span>​(byte[] source, |
| 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="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="#writeBytes(java.nio.ByteBuffer)">writeBytes</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio" class="externalLink">ByteBuffer</a> source)</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="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="#writeBytes(org.apache.qpid.protonj2.buffer.ProtonBuffer)">writeBytes</a></span>​(<a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> source)</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="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="#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> source, |
| 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="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="#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> source, |
| 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="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="#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="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="#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="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="#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="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="#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="i83" 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.<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.apache.qpid.protonj2.buffer.ProtonBuffer"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.qpid.protonj2.buffer.<a href="ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></h3> |
| <code><a href="ProtonBuffer.html#capacity()">capacity</a>, <a href="ProtonBuffer.html#capacity(int)">capacity</a>, <a href="ProtonBuffer.html#getArray()">getArray</a>, <a href="ProtonBuffer.html#getArrayOffset()">getArrayOffset</a>, <a href="ProtonBuffer.html#getByte(int)">getByte</a>, <a href="ProtonBuffer.html#getBytes(int,byte%5B%5D,int,int)">getBytes</a>, <a href="ProtonBuffer.html#getBytes(int,java.nio.ByteBuffer)">getBytes</a>, <a href="ProtonBuffer.html#getBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)">getBytes</a>, <a href="ProtonBuffer.html#getInt(int)">getInt</a>, <a href="ProtonBuffer.html#getLong(int)">getLong</a>, <a href="ProtonBuffer.html#getShort(int)">getShort</a>, <a href="ProtonBuffer.html#hasArray()">hasArray</a>, <a href="ProtonBuffer.html#setByte(int,int)">setByte</a>, <a href="ProtonBuffer.html#setBytes(int,byte%5B%5D,int,int)">setBytes</a>, <a href="ProtonBuffer.html#setBytes(int,java.nio.ByteBuffer)">setBytes</a>, <a href="ProtonBuffer.html#setBytes(int,org.apache.qpid.protonj2.buffer.ProtonBuffer,int,int)">setBytes</a>, <a href="ProtonBuffer.html#setInt(int,int)">setInt</a>, <a href="ProtonBuffer.html#setLong(int,long)">setLong</a>, <a href="ProtonBuffer.html#setShort(int,int)">setShort</a>, <a href="ProtonBuffer.html#unwrap()">unwrap</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a id="readIndex"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readIndex</h4> |
| <pre>protected int readIndex</pre> |
| </li> |
| </ul> |
| <a id="writeIndex"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeIndex</h4> |
| <pre>protected int writeIndex</pre> |
| </li> |
| </ul> |
| <a id="markedReadIndex"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>markedReadIndex</h4> |
| <pre>protected int markedReadIndex</pre> |
| </li> |
| </ul> |
| <a id="markedWriteIndex"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>markedWriteIndex</h4> |
| <pre>protected int markedWriteIndex</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>ProtonAbstractBuffer</h4> |
| <pre>protected ProtonAbstractBuffer​(int maximumCapacity)</pre> |
| </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="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="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="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="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="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 value)</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>value</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="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="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 value)</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>value</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="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="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="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="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="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="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 numBytes)</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>numBytes</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 numBytes)</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>numBytes</code> - The number writable bytes that is being checked in this buffer.</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="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 read and write offsets to zero and clears the position markers if |
| set previously, 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="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 length)</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>length</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="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="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 abstract <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="toByteBuffer()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toByteBuffer</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio" class="externalLink">ByteBuffer</a> 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 abstract <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio" class="externalLink">ByteBuffer</a> 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="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)</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. This method will not alter the write offset but may change |
| the value returned from the capacity method if new buffer space is allocated.</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> |
| </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="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="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="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="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="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="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[] target)</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>target</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(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[] target, |
| 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>target</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[] target, |
| 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>target</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> target)</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 will be incremented by the 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>target</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> target, |
| 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 will be |
| incremented by the 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>target</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> target, |
| 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>). This method |
| does not modify the write index of the target buffer.</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>target</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="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​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio" class="externalLink">ByteBuffer</a> dst)</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>dst</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="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="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="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="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="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="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="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[] source)</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>source</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[] source, |
| 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>source</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[] source, |
| 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>source</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> source)</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>source</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> source, |
| 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>source</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> source, |
| 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>). This method |
| does not modify the read index of the source buffer.</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>source</code> - The source buffer from which the bytes are read.</dd> |
| <dd><code>offset</code> - The offset in the source buffer to start writing into this buffer.</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(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​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio" class="externalLink">ByteBuffer</a> source)</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>source</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="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="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="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="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="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="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="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="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[] target)</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>target</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> target)</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>target</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> target, |
| 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>target</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="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="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="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="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="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[] src)</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>src</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> source)</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>source</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> source, |
| 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>source</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="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><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a></code> in class <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></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​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> other)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a></code> in class <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></code></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><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Comparable.html?is-external=true#compareTo(T)" title="class or interface in java.lang" class="externalLink">compareTo</a></code> in interface <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><<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><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Comparable.html?is-external=true#compareTo(T)" title="class or interface in java.lang" class="externalLink"><code>Comparable.compareTo(Object)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="toString()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> toString()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a></code> in class <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></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 <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> toString​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset" class="externalLink">Charset</a> 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 |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset" class="externalLink"><code>Charset</code></a> 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 <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset" class="externalLink"><code>Charset</code></a> 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 <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset" class="externalLink"><code>Charset</code></a>.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="checkNewCapacity(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkNewCapacity</h4> |
| <pre class="methodSignature">protected final void checkNewCapacity​(int newCapacity)</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="blockList"> |
| <li class="blockList"> |
| <h4>checkDestinationIndex</h4> |
| <pre class="methodSignature">protected final void checkDestinationIndex​(int index, |
| int length, |
| int dstIndex, |
| int dstCapacity)</pre> |
| </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="adjustIndexMarks(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>adjustIndexMarks</h4> |
| <pre class="methodSignature">protected final void adjustIndexMarks​(int decrement)</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/ProtonAbstractBuffer.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses.html">All 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><a href="#field.summary">Field</a> | </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><a href="#field.detail">Field</a> | </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 © 2022 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |