热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

org.jboss.netty.buffer.ChannelBuffer.readUnsignedInt()方法的使用及代码示例

本文整理了Java中org.jboss.netty.buffer.ChannelBuffer.readUnsignedInt()方法的一些代码示例,展示了C

本文整理了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();

推荐阅读
author-avatar
玩上加瘾_926
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有