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