当前位置: 首页>>代码示例>>C#>>正文


C# ByteBuffer.GetUInt64方法代码示例

本文整理汇总了C#中Apache.Qpid.Buffer.ByteBuffer.GetUInt64方法的典型用法代码示例。如果您正苦于以下问题:C# ByteBuffer.GetUInt64方法的具体用法?C# ByteBuffer.GetUInt64怎么用?C# ByteBuffer.GetUInt64使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Apache.Qpid.Buffer.ByteBuffer的用法示例。


在下文中一共展示了ByteBuffer.GetUInt64方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: PopulateMethodBodyFromBuffer

 protected override void PopulateMethodBodyFromBuffer(ByteBuffer buffer)
 {
     ConsumerTag = EncodingUtils.ReadShortString(buffer);
     DeliveryTag = buffer.GetUInt64();
     Exchange = EncodingUtils.ReadShortString(buffer);
     Queue = EncodingUtils.ReadShortString(buffer);
     		 
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:8,代码来源:StreamDeliverBody.cs

示例2: PopulateMethodBodyFromBuffer

 protected override void PopulateMethodBodyFromBuffer(ByteBuffer buffer)
 {
     Integer1 = buffer.GetByte();
     Integer2 = buffer.GetUInt16();
     Integer3 = buffer.GetUInt32();
     Integer4 = buffer.GetUInt64();
     Operation = buffer.GetByte();
     		 
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:9,代码来源:TestIntegerBody.cs

示例3: PopulateMethodBodyFromBuffer

 protected override void PopulateMethodBodyFromBuffer(ByteBuffer buffer)
 {
     DeliveryTag = buffer.GetUInt64();
     bool[] bools = EncodingUtils.ReadBooleans(buffer);Redelivered = bools[0];
     Exchange = EncodingUtils.ReadShortString(buffer);
     RoutingKey = EncodingUtils.ReadShortString(buffer);
     MessageCount = buffer.GetUInt32();
     		 
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:9,代码来源:BasicGetOkBody.cs

示例4: PopulateMethodBodyFromBuffer

 protected override void PopulateMethodBodyFromBuffer(ByteBuffer buffer)
 {
     ConsumerTag = EncodingUtils.ReadShortString(buffer);
     DeliveryTag = buffer.GetUInt64();
     bool[] bools = EncodingUtils.ReadBooleans(buffer);Redelivered = bools[0];
     Exchange = EncodingUtils.ReadShortString(buffer);
     RoutingKey = EncodingUtils.ReadShortString(buffer);
     Identifier = EncodingUtils.ReadShortString(buffer);
     		 
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:10,代码来源:FileDeliverBody.cs

示例5: ReadUnsignedLong

 public static ulong ReadUnsignedLong(ByteBuffer buffer)
 {
    return buffer.GetUInt64();
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:4,代码来源:EncodingUtils.cs

示例6: PopulateMethodBodyFromBuffer

 protected override void PopulateMethodBodyFromBuffer(ByteBuffer buffer)
 {
     DeliveryTag = buffer.GetUInt64();
     bool[] bools = EncodingUtils.ReadBooleans(buffer);Requeue = bools[0];
     		 
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:6,代码来源:BasicRejectBody.cs

示例7: PopulateMethodBodyFromBuffer

 protected override void PopulateMethodBodyFromBuffer(ByteBuffer buffer)
 {
     Identifier = EncodingUtils.ReadShortString(buffer);
     ContentSize = buffer.GetUInt64();
     		 
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:6,代码来源:FileOpenBody.cs

示例8: PopulateMethodBodyFromBuffer

 protected override void PopulateMethodBodyFromBuffer(ByteBuffer buffer)
 {
     IntegerResult = buffer.GetUInt64();
     StringResult = EncodingUtils.ReadLongstr(buffer);
     		 
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:6,代码来源:TestTableOkBody.cs

示例9: PopulateMethodBodyFromBuffer

 protected override void PopulateMethodBodyFromBuffer(ByteBuffer buffer)
 {
     Result = buffer.GetUInt64();
     		 
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:5,代码来源:TestIntegerOkBody.cs

示例10: PopulatePropertiesFromBuffer

 public void PopulatePropertiesFromBuffer(ByteBuffer buffer, ushort propertyFlags)
 {
    _log.Debug("Property flags: " + propertyFlags);
    if ( (propertyFlags & (1 << 15)) > 0 )
       ContentType = EncodingUtils.ReadShortString(buffer);
    if ( (propertyFlags & (1 << 14)) > 0 )
       Encoding = EncodingUtils.ReadShortString(buffer);
    if ( (propertyFlags & (1 << 13)) > 0 )
       Headers = EncodingUtils.ReadFieldTable(buffer);
    if ( (propertyFlags & (1 << 12)) > 0 )
       DeliveryMode = buffer.GetByte();
    if ( (propertyFlags & (1 << 11)) > 0 )
       Priority = buffer.GetByte();
    if ( (propertyFlags & (1 << 10)) > 0 )
       CorrelationId = EncodingUtils.ReadShortString(buffer);
    if ( (propertyFlags & (1 << 9)) > 0 )
       ReplyTo = EncodingUtils.ReadShortString(buffer);
    if ( (propertyFlags & (1 << 8)) > 0 )
       Expiration = EncodingUtils.ReadLongAsShortString(buffer);
    if ( (propertyFlags & (1 << 7)) > 0 )
       MessageId = EncodingUtils.ReadShortString(buffer);
    if ( (propertyFlags & (1 << 6)) > 0 )
       Timestamp = buffer.GetUInt64();
    if ( (propertyFlags & (1 << 5)) > 0 )
       Type = EncodingUtils.ReadShortString(buffer);
    if ( (propertyFlags & (1 << 4)) > 0 )
       UserId = EncodingUtils.ReadShortString(buffer);
    if ( (propertyFlags & (1 << 3)) > 0 )
       AppId = EncodingUtils.ReadShortString(buffer);
    if ( (propertyFlags & (1 << 2)) > 0 )
       ClusterId = EncodingUtils.ReadShortString(buffer);
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:32,代码来源:BasicContentHeaderProperties.cs

示例11: PopulateMethodBodyFromBuffer

 protected override void PopulateMethodBodyFromBuffer(ByteBuffer buffer)
 {
     StagedSize = buffer.GetUInt64();
     		 
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:5,代码来源:FileOpenOkBody.cs

示例12: PopulateFromBuffer

 public void PopulateFromBuffer(ByteBuffer buffer, uint size)
 {     
     ClassId = buffer.GetUInt16();
     Weight = buffer.GetUInt16();
     BodySize = buffer.GetUInt64();
     ushort propertyFlags = buffer.GetUInt16();
     ContentHeaderPropertiesFactory factory = ContentHeaderPropertiesFactory.GetInstance();
     Properties = factory.CreateContentHeaderProperties(ClassId, propertyFlags, buffer);    
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:9,代码来源:ContentHeaderBody.cs


注:本文中的Apache.Qpid.Buffer.ByteBuffer.GetUInt64方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。