本文整理了Java中io.netty.buffer.ByteBuf.getMedium()
方法的一些代码示例,展示了ByteBuf.getMedium()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ByteBuf.getMedium()
方法的具体详情如下:
包路径:io.netty.buffer.ByteBuf
类名称:ByteBuf
方法名:getMedium
[英]Gets a 24-bit medium integer at the specified absolute index in this buffer. This method does not modify readerIndex or writerIndex of this buffer.
[中]获取此缓冲区中指定绝对索引处的24位中整数。此方法不修改此缓冲区的readerIndex或writerIndex。
代码示例来源:origin: netty/netty
@Override
public int getMedium(int index) {
return buf.getMedium(index);
}
代码示例来源:origin: netty/netty
@Override
public int getMediumLE(int index) {
return buf.getMedium(index);
}
代码示例来源:origin: redisson/redisson
@Override
public int getMediumLE(int index) {
return buf.getMedium(index);
}
代码示例来源:origin: redisson/redisson
@Override
public int getMedium(int index) {
return buf.getMedium(index);
}
代码示例来源:origin: eclipse-vertx/vert.x
public int getMedium(int pos) {
return buffer.getMedium(pos);
}
代码示例来源:origin: wildfly/wildfly
@Override
public int getMediumLE(int index) {
return buf.getMedium(index);
}
代码示例来源:origin: wildfly/wildfly
@Override
public int getMedium(int index) {
return buf.getMedium(index);
}
代码示例来源:origin: micronaut-projects/micronaut-core
@Override
public int getMedium(int index) {
return byteBuf.getMedium(index);
}
代码示例来源:origin: netty/netty
@Override
public int getMedium(int index) {
checkIndex(index, 3);
return buffer.getMedium(index);
}
代码示例来源:origin: netty/netty
@Override
public int getMedium(int index) {
return ByteBufUtil.swapMedium(buf.getMedium(index));
}
代码示例来源:origin: redisson/redisson
@Override
public int getMedium(int index) {
checkIndex(index, 3);
return buffer.getMedium(index);
}
代码示例来源:origin: redisson/redisson
@Override
public int getMedium(int index) {
return ByteBufUtil.swapMedium(buf.getMedium(index));
}
代码示例来源:origin: wildfly/wildfly
@Override
public int getMedium(int index) {
checkIndex(index, 3);
return buffer.getMedium(index);
}
代码示例来源:origin: wildfly/wildfly
@Override
public int getMedium(int index) {
return ByteBufUtil.swapMedium(buf.getMedium(index));
}
代码示例来源:origin: netty/netty
break;
default:
inBuff = numSigBytes <= 0 ? 0 : toIntBE(src.getMedium(srcOffset));
break;
break;
default:
inBuff = numSigBytes <= 0 ? 0 : toIntLE(src.getMedium(srcOffset));
break;
代码示例来源:origin: redisson/redisson
break;
default:
inBuff = numSigBytes <= 0 ? 0 : toIntBE(src.getMedium(srcOffset));
break;
break;
default:
inBuff = numSigBytes <= 0 ? 0 : toIntLE(src.getMedium(srcOffset));
break;
代码示例来源:origin: io.netty/netty-buffer
@Override
public int getMedium(int index) {
return buf.getMedium(index);
}
代码示例来源:origin: io.netty/netty-buffer
@Override
public int getMediumLE(int index) {
return buf.getMedium(index);
}
代码示例来源:origin: wildfly/wildfly
break;
default:
inBuff = numSigBytes <= 0 ? 0 : toIntBE(src.getMedium(srcOffset));
break;
break;
default:
inBuff = numSigBytes <= 0 ? 0 : toIntLE(src.getMedium(srcOffset));
break;
代码示例来源:origin: io.netty/netty-buffer
@Override
public int getMedium(int index) {
return ByteBufUtil.swapMedium(buf.getMedium(index));
}
内容来源于网络,如有侵权,请联系作者删除!