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 ProtonCompositeBuffer
ProtonCompositeBuffer. append(byte[] array)
Appends the given byte array to the end of the buffer segments that comprise this compositeProtonBuffer
instance.ProtonCompositeBuffer
ProtonCompositeBuffer. append(byte[] array, int offset, int length)
Appends the given byte array to the end of the buffer segments that comprise this compositeProtonBuffer
instance.ProtonCompositeBuffer
ProtonCompositeBuffer. append(ProtonBuffer buffer)
Appends the givenProtonBuffer
to the end of the buffer segments that comprise this compositeProtonBuffer
instance.ProtonCompositeBuffer
ProtonCompositeBuffer. foreachBuffer(Consumer<ProtonBuffer> consumer)
For each of the buffers contained in thisProtonCompositeBuffer
instance 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.ProtonCompositeBuffer
ProtonCompositeBuffer. foreachInternalBuffer(Consumer<ProtonBuffer> consumer)
For each of the buffers contained in thisProtonCompositeBuffer
instance the given consumer will be invoked with theProtonBuffer
that backs this composite instance.ProtonCompositeBuffer
ProtonCompositeBuffer. reclaimRead()
For any buffer that precedes the buffer pointed to by the current read index remove that buffer from to composite and discard.
-