软件包 | 描述 |
---|---|
io.netty.buffer |
抽象字节缓冲区 - 表示低级二进制和文本消息的基本数据结构。
|
io.netty.channel |
核心通道API是异步和事件驱动的各种传输的抽象,如
NIO Channel 。
|
Modifier and Type | Method and Description |
---|---|
CompositeByteBuf |
CompositeByteBuf.addComponent(boolean increaseWriterIndex, ByteBuf buffer)
添加指定的 ByteBuf ,增加writerIndex 如果increaseWriterIndex 是true 。
|
CompositeByteBuf |
CompositeByteBuf.addComponent(boolean increaseWriterIndex, int cIndex, ByteBuf buffer)
添加指定的 ByteBuf 具体指标,并增加了writerIndex 如果increaseWriterIndex 是true 。
|
CompositeByteBuf |
CompositeByteBuf.addComponent(ByteBuf buffer)
添加给定的 ByteBuf 。
|
CompositeByteBuf |
CompositeByteBuf.addComponent(int cIndex, ByteBuf buffer)
将特定索引添加给定的 ByteBuf 。
|
CompositeByteBuf |
CompositeByteBuf.addComponents(boolean increaseWriterIndex, ByteBuf... buffers)
添加指定的 ByteBuf 个 S和增加writerIndex 如果increaseWriterIndex 是true 。
|
CompositeByteBuf |
CompositeByteBuf.addComponents(boolean increaseWriterIndex, java.lang.Iterable<ByteBuf> buffers)
添加指定的 ByteBuf 个 S和增加writerIndex 如果increaseWriterIndex 是true 。
|
CompositeByteBuf |
CompositeByteBuf.addComponents(ByteBuf... buffers)
添加给定的 ByteBuf 。
|
CompositeByteBuf |
CompositeByteBuf.addComponents(int cIndex, ByteBuf... buffers)
在特定索引上添加给定的 ByteBuf 请注意,此方法不会增加writerIndex 的writerIndex 。
|
CompositeByteBuf |
CompositeByteBuf.addComponents(int cIndex, java.lang.Iterable<ByteBuf> buffers)
在特定索引上添加给定的 ByteBuf 请注意,此方法不会增加writerIndex 的writerIndex 。
|
CompositeByteBuf |
CompositeByteBuf.addComponents(java.lang.Iterable<ByteBuf> buffers)
添加给定的 ByteBuf 。
|
CompositeByteBuf |
CompositeByteBuf.capacity(int newCapacity) |
CompositeByteBuf |
CompositeByteBuf.clear() |
static CompositeByteBuf |
Unpooled.compositeBuffer()
返回没有组件的新的big-endian复合缓冲区。
|
CompositeByteBuf |
ByteBufAllocator.compositeBuffer()
分配一个 CompositeByteBuf 。
|
CompositeByteBuf |
AbstractByteBufAllocator.compositeBuffer() |
static CompositeByteBuf |
Unpooled.compositeBuffer(int maxNumComponents)
返回没有组件的新的big-endian复合缓冲区。
|
CompositeByteBuf |
ByteBufAllocator.compositeBuffer(int maxNumComponents)
分配一个 CompositeByteBuf ,其中可以存储最多数量的组件。
|
CompositeByteBuf |
AbstractByteBufAllocator.compositeBuffer(int maxNumComponents) |
CompositeByteBuf |
ByteBufAllocator.compositeDirectBuffer()
直接分配 CompositeByteBuf 。
|
CompositeByteBuf |
AbstractByteBufAllocator.compositeDirectBuffer() |
CompositeByteBuf |
UnpooledByteBufAllocator.compositeDirectBuffer(int maxNumComponents) |
CompositeByteBuf |
ByteBufAllocator.compositeDirectBuffer(int maxNumComponents)
用直接 CompositeByteBuf 分配给定的最大数量的可存储在其中的组件。
|
CompositeByteBuf |
AbstractByteBufAllocator.compositeDirectBuffer(int maxNumComponents) |
CompositeByteBuf |
ByteBufAllocator.compositeHeapBuffer()
分配一个堆 CompositeByteBuf 。
|
CompositeByteBuf |
AbstractByteBufAllocator.compositeHeapBuffer() |
CompositeByteBuf |
UnpooledByteBufAllocator.compositeHeapBuffer(int maxNumComponents) |
CompositeByteBuf |
ByteBufAllocator.compositeHeapBuffer(int maxNumComponents)
分配一个堆 CompositeByteBuf ,其中可以存储最多数量的组件。
|
CompositeByteBuf |
AbstractByteBufAllocator.compositeHeapBuffer(int maxNumComponents) |
CompositeByteBuf |
CompositeByteBuf.consolidate()
合并组成的 ByteBuf
|
CompositeByteBuf |
CompositeByteBuf.consolidate(int cIndex, int numComponents)
合并组成的 ByteBuf
|
CompositeByteBuf |
CompositeByteBuf.discardReadBytes() |
CompositeByteBuf |
CompositeByteBuf.discardReadComponents()
丢弃所有被读取的 ByteBuf 。
|
CompositeByteBuf |
CompositeByteBuf.discardSomeReadBytes() |
CompositeByteBuf |
CompositeByteBuf.ensureWritable(int minWritableBytes) |
CompositeByteBuf |
CompositeByteBuf.getBytes(int index, byte[] dst) |
CompositeByteBuf |
CompositeByteBuf.getBytes(int index, byte[] dst, int dstIndex, int length) |
CompositeByteBuf |
CompositeByteBuf.getBytes(int index, ByteBuf dst) |
CompositeByteBuf |
CompositeByteBuf.getBytes(int index, java.nio.ByteBuffer dst) |
CompositeByteBuf |
CompositeByteBuf.getBytes(int index, ByteBuf dst, int length) |
CompositeByteBuf |
CompositeByteBuf.getBytes(int index, ByteBuf dst, int dstIndex, int length) |
CompositeByteBuf |
CompositeByteBuf.getBytes(int index, java.io.OutputStream out, int length) |
CompositeByteBuf |
CompositeByteBuf.markReaderIndex() |
CompositeByteBuf |
CompositeByteBuf.markWriterIndex() |
CompositeByteBuf |
CompositeByteBuf.readBytes(byte[] dst) |
CompositeByteBuf |
CompositeByteBuf.readBytes(byte[] dst, int dstIndex, int length) |
CompositeByteBuf |
CompositeByteBuf.readBytes(ByteBuf dst) |
CompositeByteBuf |
CompositeByteBuf.readBytes(java.nio.ByteBuffer dst) |
CompositeByteBuf |
CompositeByteBuf.readBytes(ByteBuf dst, int length) |
CompositeByteBuf |
CompositeByteBuf.readBytes(ByteBuf dst, int dstIndex, int length) |
CompositeByteBuf |
CompositeByteBuf.readBytes(java.io.OutputStream out, int length) |
CompositeByteBuf |
CompositeByteBuf.readerIndex(int readerIndex) |
CompositeByteBuf |
CompositeByteBuf.removeComponent(int cIndex)
从给定的索引中删除 ByteBuf 。
|
CompositeByteBuf |
CompositeByteBuf.removeComponents(int cIndex, int numComponents)
Remove the number of
ByteBuf s starting from the given index.
|
CompositeByteBuf |
CompositeByteBuf.resetReaderIndex() |
CompositeByteBuf |
CompositeByteBuf.resetWriterIndex() |
CompositeByteBuf |
CompositeByteBuf.retain() |
CompositeByteBuf |
CompositeByteBuf.retain(int increment) |
CompositeByteBuf |
CompositeByteBuf.setBoolean(int index, boolean value) |
CompositeByteBuf |
CompositeByteBuf.setByte(int index, int value) |
CompositeByteBuf |
CompositeByteBuf.setBytes(int index, byte[] src) |
CompositeByteBuf |
CompositeByteBuf.setBytes(int index, byte[] src, int srcIndex, int length) |
CompositeByteBuf |
CompositeByteBuf.setBytes(int index, ByteBuf src) |
CompositeByteBuf |
CompositeByteBuf.setBytes(int index, java.nio.ByteBuffer src) |
CompositeByteBuf |
CompositeByteBuf.setBytes(int index, ByteBuf src, int length) |
CompositeByteBuf |
CompositeByteBuf.setBytes(int index, ByteBuf src, int srcIndex, int length) |
CompositeByteBuf |
CompositeByteBuf.setChar(int index, int value) |
CompositeByteBuf |
CompositeByteBuf.setDouble(int index, double value) |
CompositeByteBuf |
CompositeByteBuf.setFloat(int index, float value) |
CompositeByteBuf |
CompositeByteBuf.setIndex(int readerIndex, int writerIndex) |
CompositeByteBuf |
CompositeByteBuf.setInt(int index, int value) |
CompositeByteBuf |
CompositeByteBuf.setLong(int index, long value) |
CompositeByteBuf |
CompositeByteBuf.setMedium(int index, int value) |
CompositeByteBuf |
CompositeByteBuf.setShort(int index, int value) |
CompositeByteBuf |
CompositeByteBuf.setZero(int index, int length) |
CompositeByteBuf |
CompositeByteBuf.skipBytes(int length) |
protected static CompositeByteBuf |
AbstractByteBufAllocator.toLeakAwareBuffer(CompositeByteBuf buf) |
CompositeByteBuf |
CompositeByteBuf.touch() |
CompositeByteBuf |
CompositeByteBuf.touch(java.lang.Object hint) |
CompositeByteBuf |
CompositeByteBuf.writeBoolean(boolean value) |
CompositeByteBuf |
CompositeByteBuf.writeByte(int value) |
CompositeByteBuf |
CompositeByteBuf.writeBytes(byte[] src) |
CompositeByteBuf |
CompositeByteBuf.writeBytes(byte[] src, int srcIndex, int length) |
CompositeByteBuf |
CompositeByteBuf.writeBytes(ByteBuf src) |
CompositeByteBuf |
CompositeByteBuf.writeBytes(java.nio.ByteBuffer src) |
CompositeByteBuf |
CompositeByteBuf.writeBytes(ByteBuf src, int length) |
CompositeByteBuf |
CompositeByteBuf.writeBytes(ByteBuf src, int srcIndex, int length) |
CompositeByteBuf |
CompositeByteBuf.writeChar(int value) |
CompositeByteBuf |
CompositeByteBuf.writeDouble(double value) |
CompositeByteBuf |
CompositeByteBuf.writeFloat(float value) |
CompositeByteBuf |
CompositeByteBuf.writeInt(int value) |
CompositeByteBuf |
CompositeByteBuf.writeLong(long value) |
CompositeByteBuf |
CompositeByteBuf.writeMedium(int value) |
CompositeByteBuf |
CompositeByteBuf.writerIndex(int writerIndex) |
CompositeByteBuf |
CompositeByteBuf.writeShort(int value) |
CompositeByteBuf |
CompositeByteBuf.writeZero(int length) |
Modifier and Type | Method and Description |
---|---|
protected static CompositeByteBuf |
AbstractByteBufAllocator.toLeakAwareBuffer(CompositeByteBuf buf) |
Modifier and Type | Method and Description |
---|---|
CompositeByteBuf |
PreferHeapByteBufAllocator.compositeBuffer() |
CompositeByteBuf |
PreferHeapByteBufAllocator.compositeBuffer(int maxNumComponents) |
CompositeByteBuf |
PreferHeapByteBufAllocator.compositeDirectBuffer() |
CompositeByteBuf |
PreferHeapByteBufAllocator.compositeDirectBuffer(int maxNumComponents) |
CompositeByteBuf |
PreferHeapByteBufAllocator.compositeHeapBuffer() |
CompositeByteBuf |
PreferHeapByteBufAllocator.compositeHeapBuffer(int maxNumComponents) |
Copyright © 2008–2018 The Netty Project. All rights reserved.