本文整理了Java中io.netty.buffer.ByteBuf.readMedium()
方法的一些代码示例,展示了ByteBuf.readMedium()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ByteBuf.readMedium()
方法的具体详情如下:
包路径:io.netty.buffer.ByteBuf
类名称:ByteBuf
方法名:readMedium
[英]Gets a 24-bit medium integer at the current readerIndexand increases the readerIndex by 3 in this buffer.
[中]获取当前readerIndex处的24位中整数,并在此缓冲区中将readerIndex增加3。
代码示例来源:origin: netty/netty
@Override
public int readMedium() {
return buf.readMedium();
}
代码示例来源:origin: netty/netty
@Override
public int readMediumLE() {
return buf.readMedium();
}
代码示例来源:origin: redisson/redisson
@Override
public int readMediumLE() {
return buf.readMedium();
}
代码示例来源:origin: apache/incubator-shardingsphere
/**
* Read 3 byte fixed length integer from byte buffers.
*
* @return 3 byte fixed length integer
*/
public int readInt3() {
return byteBuf.readMedium() & 0xffffff;
}
代码示例来源:origin: redisson/redisson
@Override
public int readMedium() {
return buf.readMedium();
}
代码示例来源:origin: wildfly/wildfly
@Override
public int readMediumLE() {
return buf.readMedium();
}
代码示例来源:origin: wildfly/wildfly
@Override
public int readMedium() {
return buf.readMedium();
}
代码示例来源:origin: micronaut-projects/micronaut-core
@Override
public int readMedium() {
return byteBuf.readMedium();
}
代码示例来源:origin: netty/netty
@Override
public int readMedium() {
checkReadableBytes(3);
return buffer.readMedium();
}
代码示例来源:origin: netty/netty
@Override
public int readMedium() {
return ByteBufUtil.swapMedium(buf.readMedium());
}
代码示例来源:origin: redisson/redisson
@Override
public int readMedium() {
return ByteBufUtil.swapMedium(buf.readMedium());
}
代码示例来源:origin: redisson/redisson
@Override
public int readMedium() {
checkReadableBytes(3);
return buffer.readMedium();
}
代码示例来源:origin: wildfly/wildfly
@Override
public int readMedium() {
checkReadableBytes(3);
return buffer.readMedium();
}
代码示例来源:origin: wildfly/wildfly
@Override
public int readMedium() {
return ByteBufUtil.swapMedium(buf.readMedium());
}
代码示例来源:origin: Graylog2/graylog2-server
return Optional.of(bb.readShort());
case INT24:
return Optional.of(bb.readMedium());
case INT32:
return Optional.of(bb.readInt());
代码示例来源:origin: io.netty/netty-buffer
@Override
public int readMedium() {
return buf.readMedium();
}
代码示例来源:origin: io.netty/netty-buffer
@Override
public int readMediumLE() {
return buf.readMedium();
}
代码示例来源:origin: io.netty/netty-buffer
@Override
public int readMedium() {
return ByteBufUtil.swapMedium(buf.readMedium());
}
代码示例来源:origin: traccar/traccar
position.setAltitude(buf.readMedium());
代码示例来源:origin: org.apache.activemq/artemis-jms-client-all
@Override
public int readMedium() {
checkReadableBytes(3);
return buffer.readMedium();
}
内容来源于网络,如有侵权,请联系作者删除!