Uses of Class
org.apache.qpid.protonj2.buffer.ProtonCompositeBuffer
-
Packages that use ProtonCompositeBuffer Package Description org.apache.qpid.protonj2.buffer -
-
Uses of ProtonCompositeBuffer in org.apache.qpid.protonj2.buffer
Methods in org.apache.qpid.protonj2.buffer that return ProtonCompositeBuffer Modifier and Type Method Description ProtonCompositeBufferProtonCompositeBuffer. append(byte[] array)Appends the given byte array to the end of the buffer segments that comprise this compositeProtonBufferinstance.ProtonCompositeBufferProtonCompositeBuffer. append(byte[] array, int offset, int length)Appends the given byte array to the end of the buffer segments that comprise this compositeProtonBufferinstance.ProtonCompositeBufferProtonCompositeBuffer. append(ProtonBuffer buffer)Appends the givenProtonBufferto the end of the buffer segments that comprise this compositeProtonBufferinstance.ProtonCompositeBufferProtonCompositeBuffer. foreachBuffer(java.util.function.Consumer<ProtonBuffer> consumer)For each of the buffers contained in thisProtonCompositeBufferinstance the given consumer will be invoked with a duplicate of the buffer that can be independently modified and not affect the contents of this buffer.ProtonCompositeBufferProtonCompositeBuffer. foreachInternalBuffer(java.util.function.Consumer<ProtonBuffer> consumer)For each of the buffers contained in thisProtonCompositeBufferinstance the given consumer will be invoked with theProtonBufferthat backs this composite instance.ProtonCompositeBufferProtonCompositeBuffer. reclaimRead()For any buffer that precedes the buffer pointed to by the current read index remove that buffer from to composite and discard.
-