ReadableBuffer.duplicate

Creates a duplicate {@link ReadableBuffer} to this instance. <p> The duplicated buffer will have the same position, limit and mark as this buffer. The two buffers share the same backing data.

@return a duplicate of this {@link ReadableBuffer}.

interface ReadableBuffer
duplicate
()

Meta