-
Returns a copy of this buffer's readable bytes.
ActiveMQBuffer.copy(int index,
int length)
Returns a copy of this buffer's sub-region.
Returns a buffer which shares the whole region of this buffer.
Creates a self-expanding ActiveMQBuffer filled with the given byte array
Creates a self-expanding ActiveMQBuffer with the given initial size
Creates a fixed ActiveMQBuffer of the given size
Returns a new slice of this buffer's sub-region starting at the current
readerIndex and increases the readerIndex by the size
of the new slice (= length).
Returns a slice of this buffer's readable bytes.
ActiveMQBuffer.slice(int index,
int length)
Returns a slice of this buffer's sub-region.
Creates an ActiveMQBuffer wrapping an underlying byte array
ActiveMQBuffers.wrappedBuffer(io.netty.buffer.ByteBuf underlying)
Creates an ActiveMQBuffer wrapping an underlying ByteBuf
The position on this buffer won't affect the position on the inner buffer
Creates an ActiveMQBuffer wrapping an underlying NIO ByteBuffer
The position on this buffer won't affect the position on the inner buffer
void
Transfers this buffer's data to the specified destination starting at
the specified absolute index until the destination becomes
non-writable.
void
Transfers this buffer's data to the specified destination starting at
the specified absolute index.
void
Transfers this buffer's data to the specified destination starting at
the specified absolute index.
void
Transfers this buffer's data to the specified destination starting at
the current readerIndex until the destination becomes
non-writable, and increases the readerIndex by the number of the
transferred bytes.
void
Transfers this buffer's data to the specified destination starting at
the current readerIndex and increases the readerIndex
by the number of the transferred bytes (= length).
void
Transfers this buffer's data to the specified destination starting at
the current readerIndex and increases the readerIndex
by the number of the transferred bytes (= length).
void
Transfers the specified source buffer's data to this buffer starting at
the specified absolute index until the destination becomes
unreadable.
void
Transfers the specified source buffer's data to this buffer starting at
the specified absolute index.
void
Transfers the specified source buffer's data to this buffer starting at
the specified absolute index.
void
Transfers the specified source buffer's data to this buffer starting at
the current writerIndex and increases the writerIndex
by the number of the transferred bytes (= length).
void
Transfers the specified source buffer's data to this buffer starting at
the current writerIndex and increases the writerIndex
by the number of the transferred bytes (= length).