Toggle navigation
Home
byte to java.nio.ByteBuffer
No. of Instances - 1
No. of Commits - 1
No. of Projects - {'orientdb'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
Add or Remove Method invocation
buffer.length
to
buffer.limit()
buffer.length
to
buffer.limit()
buffer.length
to
byteBuffer.remaining()
buffer
to
byteBuffer.remaining()
pos
to
byteBuffer.remaining()
bytes.length
to
bytes.capacity()
ConnectionHeader.parseFrom(buf)
to
ConnectionHeader.parseFrom(new ByteBufferInputStream(buf))
buf
to
buf.array()
buf.length
to
buf.limit()
saslToken.length
to
saslToken.limit()
saslToken.length
to
saslToken.limit()
saslServer.evaluateResponse(saslToken)
to
saslServer.evaluateResponse(saslToken.array())
KeyValueUtil.appendToByteArray(this.cell,buf,offset,false)
to
KeyValueUtil.appendToByteBuffer(this.cell,buf,offset,false)
data.length
to
data.capacity()
data.length
to
data.capacity()
readPos
to
inputBuffer.position()
readPos
to
inputBuffer.position()
inputBuffer.length
to
inputBuffer.capacity()
readPos
to
inputBuffer.position()
inputBuffer.length
to
inputBuffer.capacity()
readPos
to
inputBuffer.position()
pos
to
headerBuffer.position()
headerBuffer.length
to
headerBuffer.capacity()
chunk
to
chunk.getChunkBuffer()
file.write(ByteBuffer.wrap(data),chunkInfo.getOffset())
to
file.write(data,chunkInfo.getOffset())
request.getWriteChunk().getData().toByteArray()
to
request.getWriteChunk().getData().asReadOnlyByteBuffer()
Rename Variable
content
to
buffers
buffer
to
byteBuffer
buffer
to
byteBuffer
buffer
to
ciphertextBuf
buffer
to
ciphertextBuf
bytes
to
slice
objectState
to
bf
objectState
to
bf
buf
to
byteBuffer
Rename Method invocation
newByteArray
to
newDirectByteBuffer
newByteArray
to
newDirectByteBuffer
charSequence2Bytes
to
charSequence2ByteBuffer
assertArrayEquals
to
assertEquals
assertArrayEquals
to
assertEquals
assertArrayEquals
to
assertEquals
assertArrayEquals
to
assertEquals
getBuffer
to
wrapByteBuffer
getBuffer
to
wrapByteBuffer
assertArrayEquals
to
assertEquals
assertArrayEquals
to
assertEquals
getBuffer
to
wrapByteBuffer
validateBlockChecksum
to
validateChecksum
Other
0
to
plaintextBuf
Utils.serializeRecordToJson(recordCtx,data).getBytes()
to
Utils.serializeRecordToJson(recordCtx,data).getBytes()
data
to
data
Update argument list (Method invocation)
update
to
update
Introduce Literal
buf
to
null