CompositeReadableBuffer.getCurrentArrayPosition

Gets the current position index in the current backing array, which represents the current buffer position.

This value includes any buffer position movement, and resets when moving across array segments, so it only gives the starting offset for the first array if the buffer position is 0.

Value may be out of array bounds if the the buffer currently has no content remaining.

@return the position index in the current array representing the current buffer position.

class CompositeReadableBuffer
int
getCurrentArrayPosition
()

Meta