Toggle navigation
Home
java.nio.ByteBuffer to io.netty.buffer.ByteBuf
No. of Instances - 47
No. of Commits - 4
No. of Projects - {'neo4j', 'async-http-client'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Jdk -> External
Mapping:
Rename Variable
buffer
to
target
buffer
to
target
buffer
to
target
buffer
to
target
byteBuffer
to
byteBuf
buffer
to
target
destination
to
target
Add or Remove Method invocation
ByteBuffer.wrap(part.getBytes())
to
Unpooled.wrappedBuffer(part.getBytes())
target.hasRemaining()
to
target.isWritable()
preContentBuffer.remaining()
to
preContentBuffer.readableBytes()
postContentBuffer.remaining()
to
postContentBuffer.readableBytes()
source.hasRemaining()
to
source.isReadable()
buffer.remaining()
to
target.writableBytes()
ByteBuffer.allocate((int)length())
to
ByteBufAllocator.DEFAULT.buffer((int)length())
preContentBuffer.remaining()
to
preContentBuffer.readableBytes()
postContentBuffer.remaining()
to
postContentBuffer.readableBytes()
destination.remaining()
to
target.writableBytes()
ByteBuffer.wrap(payload,thisCurrentIndex,length)
to
Unpooled.wrappedBuffer(payload,thisCurrentIndex,length)
buffer.getInt()
to
buffer.readInt()
Rename Method invocation
remaining
to
writableBytes
put
to
writeBytes
remaining
to
readableBytes
put
to
writeBytes
get
to
readByte
get
to
readBytes
Cascading Type Change (Similar)
ByteBuffer
to
ByteBuf
Iterator<ByteBuffer>
to
Iterator<ByteBuf>