Allocates a new LongBuffer with the given capacity (in longs). Internally, it creates a Buffer large enough to hold (capacity * 8) bytes.
Wraps an existing LongArray into a LongBuffer. The resulting buffer’s capacity and limit are set to array.size.