public class QuicNettyBackedChannelBuffer extends Object implements org.apache.dubbo.remoting.buffer.ChannelBuffer
| 构造器和说明 |
|---|
QuicNettyBackedChannelBuffer(io.netty.buffer.ByteBuf buffer) |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
array() |
int |
arrayOffset() |
int |
capacity() |
void |
clear() |
int |
compareTo(org.apache.dubbo.remoting.buffer.ChannelBuffer o) |
org.apache.dubbo.remoting.buffer.ChannelBuffer |
copy() |
org.apache.dubbo.remoting.buffer.ChannelBuffer |
copy(int index,
int length) |
void |
discardReadBytes() |
void |
ensureWritableBytes(int writableBytes) |
org.apache.dubbo.remoting.buffer.ChannelBufferFactory |
factory() |
byte |
getByte(int index) |
void |
getBytes(int index,
byte[] dst) |
void |
getBytes(int index,
byte[] dst,
int dstIndex,
int length) |
void |
getBytes(int index,
ByteBuffer dst) |
void |
getBytes(int index,
org.apache.dubbo.remoting.buffer.ChannelBuffer dst) |
void |
getBytes(int index,
org.apache.dubbo.remoting.buffer.ChannelBuffer dst,
int length) |
void |
getBytes(int index,
org.apache.dubbo.remoting.buffer.ChannelBuffer dst,
int dstIndex,
int length) |
void |
getBytes(int index,
OutputStream dst,
int length) |
boolean |
hasArray() |
boolean |
isDirect() |
void |
markReaderIndex() |
void |
markWriterIndex() |
boolean |
readable() |
int |
readableBytes() |
byte |
readByte() |
void |
readBytes(byte[] dst) |
void |
readBytes(byte[] dst,
int dstIndex,
int length) |
void |
readBytes(ByteBuffer dst) |
void |
readBytes(org.apache.dubbo.remoting.buffer.ChannelBuffer dst) |
void |
readBytes(org.apache.dubbo.remoting.buffer.ChannelBuffer dst,
int length) |
void |
readBytes(org.apache.dubbo.remoting.buffer.ChannelBuffer dst,
int dstIndex,
int length) |
org.apache.dubbo.remoting.buffer.ChannelBuffer |
readBytes(int length) |
void |
readBytes(OutputStream dst,
int length) |
int |
readerIndex() |
void |
readerIndex(int readerIndex) |
void |
resetReaderIndex() |
void |
resetWriterIndex() |
void |
setByte(int index,
int value) |
void |
setBytes(int index,
byte[] src) |
void |
setBytes(int index,
byte[] src,
int srcIndex,
int length) |
void |
setBytes(int index,
ByteBuffer src) |
void |
setBytes(int index,
org.apache.dubbo.remoting.buffer.ChannelBuffer src) |
void |
setBytes(int index,
org.apache.dubbo.remoting.buffer.ChannelBuffer src,
int length) |
void |
setBytes(int index,
org.apache.dubbo.remoting.buffer.ChannelBuffer src,
int srcIndex,
int length) |
int |
setBytes(int index,
InputStream src,
int length) |
void |
setIndex(int readerIndex,
int writerIndex) |
void |
skipBytes(int length) |
ByteBuffer |
toByteBuffer() |
ByteBuffer |
toByteBuffer(int index,
int length) |
boolean |
writable() |
int |
writableBytes() |
void |
writeByte(int value) |
void |
writeBytes(byte[] src) |
void |
writeBytes(byte[] src,
int index,
int length) |
void |
writeBytes(ByteBuffer src) |
void |
writeBytes(org.apache.dubbo.remoting.buffer.ChannelBuffer src) |
void |
writeBytes(org.apache.dubbo.remoting.buffer.ChannelBuffer src,
int length) |
void |
writeBytes(org.apache.dubbo.remoting.buffer.ChannelBuffer src,
int srcIndex,
int length) |
int |
writeBytes(InputStream src,
int length) |
int |
writerIndex() |
void |
writerIndex(int writerIndex) |
public QuicNettyBackedChannelBuffer(io.netty.buffer.ByteBuf buffer)
public int capacity()
capacity 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic org.apache.dubbo.remoting.buffer.ChannelBuffer copy(int index,
int length)
copy 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic org.apache.dubbo.remoting.buffer.ChannelBufferFactory factory()
factory 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic byte getByte(int index)
getByte 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void getBytes(int index,
byte[] dst,
int dstIndex,
int length)
getBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void getBytes(int index,
ByteBuffer dst)
getBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void getBytes(int index,
org.apache.dubbo.remoting.buffer.ChannelBuffer dst,
int dstIndex,
int length)
getBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void getBytes(int index,
OutputStream dst,
int length)
throws IOException
getBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferIOExceptionpublic boolean isDirect()
isDirect 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void setByte(int index,
int value)
setByte 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void setBytes(int index,
byte[] src,
int srcIndex,
int length)
setBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void setBytes(int index,
ByteBuffer src)
setBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void setBytes(int index,
org.apache.dubbo.remoting.buffer.ChannelBuffer src,
int srcIndex,
int length)
setBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic int setBytes(int index,
InputStream src,
int length)
throws IOException
setBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferIOExceptionpublic ByteBuffer toByteBuffer(int index, int length)
toByteBuffer 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic byte[] array()
array 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic boolean hasArray()
hasArray 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic int arrayOffset()
arrayOffset 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void clear()
clear 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic org.apache.dubbo.remoting.buffer.ChannelBuffer copy()
copy 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void discardReadBytes()
discardReadBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void ensureWritableBytes(int writableBytes)
ensureWritableBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void getBytes(int index,
byte[] dst)
getBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void getBytes(int index,
org.apache.dubbo.remoting.buffer.ChannelBuffer dst)
getBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void getBytes(int index,
org.apache.dubbo.remoting.buffer.ChannelBuffer dst,
int length)
getBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void markReaderIndex()
markReaderIndex 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void markWriterIndex()
markWriterIndex 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic boolean readable()
readable 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic int readableBytes()
readableBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic byte readByte()
readByte 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void readBytes(byte[] dst)
readBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void readBytes(byte[] dst,
int dstIndex,
int length)
readBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void readBytes(ByteBuffer dst)
readBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void readBytes(org.apache.dubbo.remoting.buffer.ChannelBuffer dst)
readBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void readBytes(org.apache.dubbo.remoting.buffer.ChannelBuffer dst,
int length)
readBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void readBytes(org.apache.dubbo.remoting.buffer.ChannelBuffer dst,
int dstIndex,
int length)
readBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic org.apache.dubbo.remoting.buffer.ChannelBuffer readBytes(int length)
readBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void resetReaderIndex()
resetReaderIndex 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void resetWriterIndex()
resetWriterIndex 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic int readerIndex()
readerIndex 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void readerIndex(int readerIndex)
readerIndex 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void readBytes(OutputStream dst, int length) throws IOException
readBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferIOExceptionpublic void setBytes(int index,
byte[] src)
setBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void setBytes(int index,
org.apache.dubbo.remoting.buffer.ChannelBuffer src)
setBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void setBytes(int index,
org.apache.dubbo.remoting.buffer.ChannelBuffer src,
int length)
setBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void setIndex(int readerIndex,
int writerIndex)
setIndex 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void skipBytes(int length)
skipBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic ByteBuffer toByteBuffer()
toByteBuffer 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic boolean writable()
writable 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic int writableBytes()
writableBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void writeByte(int value)
writeByte 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void writeBytes(byte[] src)
writeBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void writeBytes(byte[] src,
int index,
int length)
writeBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void writeBytes(ByteBuffer src)
writeBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void writeBytes(org.apache.dubbo.remoting.buffer.ChannelBuffer src)
writeBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void writeBytes(org.apache.dubbo.remoting.buffer.ChannelBuffer src,
int length)
writeBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void writeBytes(org.apache.dubbo.remoting.buffer.ChannelBuffer src,
int srcIndex,
int length)
writeBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic int writeBytes(InputStream src, int length) throws IOException
writeBytes 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferIOExceptionpublic int writerIndex()
writerIndex 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic void writerIndex(int writerIndex)
writerIndex 在接口中 org.apache.dubbo.remoting.buffer.ChannelBufferpublic int compareTo(org.apache.dubbo.remoting.buffer.ChannelBuffer o)
compareTo 在接口中 Comparable<org.apache.dubbo.remoting.buffer.ChannelBuffer>Copyright © 2022 The Apache Software Foundation. All rights reserved.