Uses of Class
org.springframework.core.io.buffer.NettyDataBuffer
Packages that use NettyDataBuffer
Package
Description
Generic abstraction for working with byte buffer implementations.
-
Uses of NettyDataBuffer in org.springframework.core.io.buffer
Methods in org.springframework.core.io.buffer that return NettyDataBufferModifier and TypeMethodDescriptionNettyDataBufferFactory.allocateBuffer()
NettyDataBufferFactory.allocateBuffer
(int initialCapacity) NettyDataBuffer.capacity
(int capacity) NettyDataBuffer.read
(byte[] destination) NettyDataBuffer.read
(byte[] destination, int offset, int length) NettyDataBuffer.readPosition
(int readPosition) NettyDataBuffer.retainedSlice
(int index, int length) NettyDataBuffer.slice
(int index, int length) NettyDataBufferFactory.wrap
(io.netty.buffer.ByteBuf byteBuf) Wrap the given NettyByteBuf
in aNettyDataBuffer
.NettyDataBufferFactory.wrap
(ByteBuffer byteBuffer) NettyDataBuffer.write
(byte b) NettyDataBuffer.write
(byte[] source) NettyDataBuffer.write
(byte[] source, int offset, int length) NettyDataBuffer.write
(io.netty.buffer.ByteBuf... byteBufs) Writes one or more NettyByteBufs
to this buffer, starting at the current writing position.NettyDataBuffer.write
(ByteBuffer... buffers) NettyDataBuffer.write
(DataBuffer... buffers) NettyDataBuffer.writePosition
(int writePosition)