public final class Buffer extends Object
Modifier and Type | Method and Description |
---|---|
static long |
address(ByteBuffer buf)
Returns the memory address of the ByteBuffer.
|
static long |
size(ByteBuffer buf)
Returns the allocated memory size of the ByteBuffer.
|
public static long address(ByteBuffer buf)
buf
- Previously allocated ByteBuffer.public static long size(ByteBuffer buf)
buf
- Previously allocated ByteBuffer.Copyright © 2008–2019 The Netty Project. All rights reserved.