# Uses of Class
org.springframework.core.io.buffer.NettyDataBuffer

Packages that use NettyDataBuffer
Package
Description
org.springframework.core.io.buffer
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 NettyDataBuffer
Modifier and Type
Method
Description
`NettyDataBuffer`
NettyDataBufferFactory.`allocateBuffer()`
Deprecated.
`NettyDataBuffer`
NettyDataBufferFactory.`allocateBuffer(int initialCapacity)`
`NettyDataBuffer`
NettyDataBuffer.`capacity(int capacity)`
Deprecated.
`NettyDataBuffer`
NettyDataBuffer.`read(byte[] destination)`
`NettyDataBuffer`
NettyDataBuffer.`read(byte[] destination, int offset, int length)`
`NettyDataBuffer`
NettyDataBuffer.`readPosition(int readPosition)`
`NettyDataBuffer`
NettyDataBuffer.`retainedSlice(int index, int length)`
Deprecated.
`NettyDataBuffer`
NettyDataBuffer.`slice(int index, int length)`
Deprecated.
`NettyDataBuffer`
NettyDataBuffer.`split(int index)`
`NettyDataBuffer`
NettyDataBufferFactory.`wrap(io.netty.buffer.ByteBuf byteBuf)`
Wrap the given Netty `ByteBuf` in a `NettyDataBuffer`.
`NettyDataBuffer`
NettyDataBufferFactory.`wrap(ByteBuffer byteBuffer)`
`NettyDataBuffer`
NettyDataBuffer.`write(byte b)`
`NettyDataBuffer`
NettyDataBuffer.`write(byte[] source)`
`NettyDataBuffer`
NettyDataBuffer.`write(byte[] source, int offset, int length)`
`NettyDataBuffer`
NettyDataBuffer.`write(io.netty.buffer.ByteBuf... byteBufs)`
Writes one or more Netty `ByteBufs` to this buffer, starting at the current writing position.
`NettyDataBuffer`
NettyDataBuffer.`write(ByteBuffer... buffers)`
`NettyDataBuffer`
NettyDataBuffer.`write(DataBuffer... dataBuffers)`
`NettyDataBuffer`
NettyDataBuffer.`writePosition(int writePosition)`