Top Constructors Methods
io.netty.channel.unix

public final Class Buffer

extends Object
Class Inheritance
Annotations
@UnstableApi
Imports
io.netty.util.internal.PlatformDependent, .UnstableApi, java.nio.ByteBuffer, .ByteOrder

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static int
addressSize()

Returns the size of a pointer.

private static native int
public static ByteBuffer
allocateDirectWithNativeOrder(int capacity)

Returns a new ByteBuffer which has the same ByteOrder as the native order of the machine.

public static void
free(ByteBuffer buffer)

Free the direct ByteBuffer.

public static long
memoryAddress(ByteBuffer buffer)

Returns the memory address of the given direct ByteBuffer.

private static native long
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Bufferback to summary
private Buffer()

Method Detail

addressSizeback to summary
public static int addressSize()

Returns the size of a pointer.

addressSize0back to summary
private static native int addressSize0()
allocateDirectWithNativeOrderback to summary
public static ByteBuffer allocateDirectWithNativeOrder(int capacity)

Returns a new ByteBuffer which has the same ByteOrder as the native order of the machine.

freeback to summary
public static void free(ByteBuffer buffer)

Free the direct ByteBuffer.

memoryAddressback to summary
public static long memoryAddress(ByteBuffer buffer)

Returns the memory address of the given direct ByteBuffer.

memoryAddress0back to summary
private static native long memoryAddress0(ByteBuffer buffer)