作者:玩上加瘾_926 | 来源:互联网 | 2024-10-18 21:55
本文整理了Java中org.jboss.netty.buffer.ChannelBuffer.readUnsignedInt()
方法的一些代码示例,展示了ChannelBuffer.readUnsignedInt()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ChannelBuffer.readUnsignedInt()
方法的具体详情如下:
包路径:org.jboss.netty.buffer.ChannelBuffer
类名称:ChannelBuffer
方法名:readUnsignedInt
ChannelBuffer.readUnsignedInt介绍
[英]Gets an unsigned 32-bit integer at the current readerIndexand increases the readerIndex by 4 in this buffer.
[中]获取当前readerIndex处的无符号32位整数,并在此缓冲区中将readerIndex增加4。
代码示例
代码示例来源:origin: menacher/java-game-server
@Override
public long readUnsignedInt()
{
return buffer.readUnsignedInt();
}
代码示例来源:origin: menacher/java-game-server
@Override
public long readUnsignedInt()
{
return buffer.readUnsignedInt();
}
代码示例来源:origin: io.netty/netty
public long readUnsignedInt() {
checkReadableBytes(4);
return buf().readUnsignedInt();
}
代码示例来源:origin: org.neo4j/neo4j-com
@Override
public long readUnsignedInt()
{
return buffer.readUnsignedInt();
}
代码示例来源:origin: org.hornetq/hornetq-core
public long readUnsignedInt()
{
return buffer.readUnsignedInt();
}
代码示例来源:origin: org.neo4j/neo4j-com
@Override
public long readUnsignedInt()
{
readNextChunkIfNeeded( 4 );
return buffer.readUnsignedInt();
}
代码示例来源:origin: net.sourceforge.openutils/flazr
@Override
public long readUnsignedInt() {
return read(4).readUnsignedInt();
}
代码示例来源:origin: net.sourceforge.openutils/flazr
@Override
public long readUnsignedInt() {
return read(4).readUnsignedInt();
}
代码示例来源:origin: mconf/flazr
@Override
public long readUnsignedInt() {
return read(4).readUnsignedInt();
}
代码示例来源:origin: mconf/flazr
@Override
public long readUnsignedInt() {
return read(4).readUnsignedInt();
}
代码示例来源:origin: org.onosproject/onos-app-routing
long localPref = message.readUnsignedInt();
return localPref;
代码示例来源:origin: org.onosproject/onos-app-routing
long multiExitDisc = message.readUnsignedInt();
return multiExitDisc;
代码示例来源:origin: org.onosproject/onos-app-routing
aggregatorAsNumber = message.readUnsignedInt();
} else {
aggregatorAsNumber = message.readUnsignedShort();
Ip4Address.valueOf((int) message.readUnsignedInt());
代码示例来源:origin: org.onosproject/onos-protocols-bgp-bgpio
/**
* Reads the BGP link attributes of ISIS administrative group area.
*
* @param cb Channel buffer
* @return object of type BgpLinkAttrIsIsAdminstGrp
* @throws BgpParseException while parsing BgpLinkAttrIsIsAdminstGrp
*/
public static BgpLinkAttrIsIsAdminstGrp read(ChannelBuffer cb)
throws BgpParseException {
long isisAdminGrp;
short lsAttrLength = cb.readShort();
if ((lsAttrLength != ISIS_ADMIN_DATA_LEN)
|| (cb.readableBytes() Validation.validateLen(BgpErrorType.UPDATE_MESSAGE_ERROR,
BgpErrorType.ATTRIBUTE_LENGTH_ERROR,
lsAttrLength);
}
isisAdminGrp = cb.readUnsignedInt();
return BgpLinkAttrIsIsAdminstGrp.of(isisAdminGrp);
}
代码示例来源:origin: org.hbase/asynchbase
break;
case 0x01:
result = buf.readUnsignedInt();
result <<= 32;
result |= buf.readUnsignedMedium();
case 0x04:
result <<= 32;
result |= buf.readUnsignedInt();
break;
case 0x05:
代码示例来源:origin: org.onosproject/onos-app-routing
long asNumber;
if (asPathLen == BgpConstants.Update.AS_4OCTET_LENGTH) {
asNumber = message.readUnsignedInt();
} else {
asNumber = message.readUnsignedShort();
代码示例来源:origin: org.onosproject/onos-app-routing
Ip4Address.valueOf((int) message.readUnsignedInt());
代码示例来源:origin: com.thimbleware.jmemcached/jmemcached-core
cmdMessage.element.setData(data);
} else if (cmdType == Op.INCR || cmdType == Op.DECR) {
long initialValue = extrasBuffer.readUnsignedInt();
long amount = extrasBuffer.readUnsignedInt();
long expiration = extrasBuffer.readUnsignedInt();
代码示例来源:origin: org.onosproject/onos-app-routing
Ip4Address.valueOf((int) message.readUnsignedInt());
bgpSession.remoteInfo().setBgpId(remoteBgpId);
代码示例来源:origin: org.onosproject/onos-app-routing
throw new BgpMessage.BgpParseException(errorMsg);
long as4Number = message.readUnsignedInt();