-
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
Creates an ActiveMQBuffer wrapping an underlying NIO ByteBuffer
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).