Top Constructors Methods
io.netty.internal.tcnative

public final Class Buffer

extends Object
Class Inheritance
Imports
java.nio.ByteBuffer

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static native long

Returns:

the memory address.
address
(ByteBuffer
Previously allocated ByteBuffer.
buf
)

Returns the memory address of the ByteBuffer.

public static native long

Returns:

the allocated memory size
size
(ByteBuffer
Previously allocated ByteBuffer.
buf
)

Returns the allocated memory size of the ByteBuffer.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Bufferback to summary
private Buffer()

Method Detail

addressback to summary
public static native long address(ByteBuffer buf)

Returns the memory address of the ByteBuffer.

Parameters
buf:ByteBuffer

Previously allocated ByteBuffer.

Returns:long

the memory address.

sizeback to summary
public static native long size(ByteBuffer buf)

Returns the allocated memory size of the ByteBuffer.

Parameters
buf:ByteBuffer

Previously allocated ByteBuffer.

Returns:long

the allocated memory size