slice
Creates a new LongBuffer slice that is a view of this buffer's content from the current position to the limit.
The new buffer’s capacity and limit will be set to the number of longs remaining, its position will be 0, and its base offset will be adjusted so that index 0 of the slice corresponds to index position of the original buffer.
Changes to one buffer are visible in the other.