public class UcxUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static long |
getAddress(ByteBuffer buffer)
Returns native address of the current position of a direct byte buffer.
|
static ByteBuffer |
getByteBufferView(long address,
long length)
Returns view of underlying memory region as a ByteBuffer.
|
public static ByteBuffer getByteBufferView(long address, long length)
address - - address of start of memory regionpublic static long getAddress(ByteBuffer buffer)
Copyright © 2021. All rights reserved.