类 ChannelBuffers
- java.lang.Object
-
- com.alibaba.dubbo.remoting.buffer.ChannelBuffers
-
public final class ChannelBuffers extends Object
-
-
字段概要
字段 修饰符和类型 字段 说明 static ChannelBuffer
EMPTY_BUFFER
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static ChannelBuffer
buffer(int capacity)
static int
compare(ChannelBuffer bufferA, ChannelBuffer bufferB)
static ChannelBuffer
directBuffer(int capacity)
static ChannelBuffer
dynamicBuffer()
static ChannelBuffer
dynamicBuffer(int capacity)
static ChannelBuffer
dynamicBuffer(int capacity, ChannelBufferFactory factory)
static boolean
equals(ChannelBuffer bufferA, ChannelBuffer bufferB)
static ChannelBuffer
wrappedBuffer(byte[] array)
static ChannelBuffer
wrappedBuffer(byte[] array, int offset, int length)
static ChannelBuffer
wrappedBuffer(ByteBuffer buffer)
-
-
-
字段详细资料
-
EMPTY_BUFFER
public static final ChannelBuffer EMPTY_BUFFER
-
-
方法详细资料
-
dynamicBuffer
public static ChannelBuffer dynamicBuffer()
-
dynamicBuffer
public static ChannelBuffer dynamicBuffer(int capacity)
-
dynamicBuffer
public static ChannelBuffer dynamicBuffer(int capacity, ChannelBufferFactory factory)
-
buffer
public static ChannelBuffer buffer(int capacity)
-
wrappedBuffer
public static ChannelBuffer wrappedBuffer(byte[] array, int offset, int length)
-
wrappedBuffer
public static ChannelBuffer wrappedBuffer(byte[] array)
-
wrappedBuffer
public static ChannelBuffer wrappedBuffer(ByteBuffer buffer)
-
directBuffer
public static ChannelBuffer directBuffer(int capacity)
-
equals
public static boolean equals(ChannelBuffer bufferA, ChannelBuffer bufferB)
-
compare
public static int compare(ChannelBuffer bufferA, ChannelBuffer bufferB)
-
-