Toggle navigation
Home
java.nio.ByteBuffer to byte
No. of Instances - 10
No. of Commits - 8
No. of Projects - {'hbase', 'j2objc', 'brave', 'graylog2-server', 'kaa', 'pinpoint', 'atomix'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
Cascading Type Change (Similar)
ByteBuffer
to
byte
ByteBuffer
to
byte[]
Rename Method invocation
slice
to
get
formatByteBuffer
to
formatBytes
Rename Variable
userEntry
to
type
currentBuffer
to
keyBuffer
buffer
to
bytes
Other
encode
to
encode
encode
to
encode
Update Anonymous class
{ @Override public void onRequestHeadersSent( FluentCaseInsensitiveStringsMap headers){ } @Override public void onResponseHeadersReceived( FluentCaseInsensitiveStringsMap headers){ target.touch(); } @Override public void onBytesReceived( ByteBuffer buffer) throws IOException { stream.putBuffer(buffer); } @Override public void onBytesSent( ByteBuffer buffer){ } @Override public void onRequestResponseCompleted(){ stream.setDone(true); } @Override public void onThrowable( Throwable t){ stream.setFailed(t); } }
to
{ @Override public void onRequestHeadersSent( FluentCaseInsensitiveStringsMap headers){ } @Override public void onResponseHeadersReceived( FluentCaseInsensitiveStringsMap headers){ target.touch(); } @Override public void onBytesSent( long amount, long current, long total){ } @Override public void onBytesReceived( byte[] bytes) throws IOException { stream.putBuffer(ByteBuffer.wrap(bytes)); } @Override public void onRequestResponseCompleted(){ stream.setDone(true); } @Override public void onThrowable( Throwable t){ stream.setFailed(t); } }