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


C# IceInternal.writeSize方法代码示例

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


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

示例1: write

 public static void write(IceInternal.BasicStream os__, R2D2.Obstacle[] v__)
 {
     if(v__ == null)
     {
         os__.writeSize(0);
     }
     else
     {
         os__.writeSize(v__.Length);
         for(int ix__ = 0; ix__ < v__.Length; ++ix__)
         {
             v__[ix__].write__(os__);
         }
     }
 }
开发者ID:intel-cornellcup,项目名称:r2bot,代码行数:15,代码来源:R2Comm.cs

示例2: write

 public static void write(IceInternal.BasicStream os__, MCS.User[] v__)
 {
     if(v__ == null)
     {
         os__.writeSize(0);
     }
     else
     {
         os__.writeSize(v__.Length);
         for(int ix__ = 0; ix__ < v__.Length; ++ix__)
         {
             (v__[ix__] == null ? new MCS.User() : v__[ix__]).write__(os__);
         }
     }
 }
开发者ID:JiangJunGG,项目名称:SyAutoH,代码行数:15,代码来源:iGuiHub.cs

示例3: write

 public static void write(IceInternal.BasicStream os__,
     _System.Collections.Generic.Dictionary<int, Murmur.User> v__)
 {
     if(v__ == null)
     {
         os__.writeSize(0);
     }
     else
     {
         os__.writeSize(v__.Count);
         foreach(_System.Collections.Generic.KeyValuePair<int, Murmur.User> e__ in v__)
         {
             os__.writeInt(e__.Key);
             if(e__.Value == null)
             {
                 Murmur.User tmp__ = new Murmur.User();
                 tmp__.write__(os__);
             }
             else
             {
                 e__.Value.write__(os__);
             }
         }
     }
 }
开发者ID:nhede,项目名称:whisper_server,代码行数:25,代码来源:Murmur.cs

示例4: write

 public static void write(IceInternal.BasicStream os__, _System.Collections.Generic.List<minie.irpc.cm_entrance_rpc> v__)
 {
     if(v__ == null)
     {
         os__.writeSize(0);
     }
     else
     {
         os__.writeSize(v__.Count);
         for(int ix__ = 0; ix__ < v__.Count; ++ix__)
         {
             os__.writeObject(v__[ix__]);
         }
     }
 }
开发者ID:srdgame,项目名称:wpf_test,代码行数:15,代码来源:minie_entity.cs

示例5: write__

 public override void write__(IceInternal.BasicStream os__)
 {
     os__.writeTypeId(ice_staticId());
     os__.startWriteSlice();
     if(c == null)
     {
         Murmur.Channel tmp__ = new Murmur.Channel();
         tmp__.write__(os__);
     }
     else
     {
         c.write__(os__);
     }
     if(children == null)
     {
         os__.writeSize(0);
     }
     else
     {
         os__.writeSize(children.Length);
         for(int ix__ = 0; ix__ < children.Length; ++ix__)
         {
             os__.writeObject(children[ix__]);
         }
     }
     if(users == null)
     {
         os__.writeSize(0);
     }
     else
     {
         os__.writeSize(users.Length);
         for(int ix__ = 0; ix__ < users.Length; ++ix__)
         {
             (users[ix__] == null ? new Murmur.User() : users[ix__]).write__(os__);
         }
     }
     os__.endWriteSlice();
     base.write__(os__);
 }
开发者ID:nhede,项目名称:whisper_server,代码行数:40,代码来源:Murmur.cs

示例6: write__

 public void write__(IceInternal.BasicStream os__)
 {
     os__.writeStringSeq(URLs);
     os__.writeString(formActionURL);
     os__.writeString(HTTPRealm);
     os__.writeString(title);
     if(formFieldList == null)
     {
         os__.writeSize(0);
     }
     else
     {
         os__.writeSize(formFieldList.Length);
         for(int ix__ = 0; ix__ < formFieldList.Length; ++ix__)
         {
             (formFieldList == null ? new KeeICE.KPlib.KPFormField() : formFieldList[ix__]).write__(os__);
         }
     }
     os__.writeBool(exactMatch);
     os__.writeString(uniqueID);
     os__.writeBool(alwaysAutoFill);
     os__.writeBool(neverAutoFill);
     os__.writeBool(alwaysAutoSubmit);
     os__.writeBool(neverAutoSubmit);
     os__.writeInt(priority);
     os__.writeString(parentGroupName);
     os__.writeString(parentGroupUUID);
     os__.writeString(parentGroupPath);
     os__.writeString(iconImageData);
 }
开发者ID:hathagat,项目名称:KeeFox,代码行数:30,代码来源:KeeICE.cs

示例7: write

 public static void write(IceInternal.BasicStream os__, KeeICE.KPlib.KPEntry[] v__)
 {
     if(v__ == null)
     {
         os__.writeSize(0);
     }
     else
     {
         os__.writeSize(v__.Length);
         for(int ix__ = 0; ix__ < v__.Length; ++ix__)
         {
             (v__ == null ? new KeeICE.KPlib.KPEntry() : v__[ix__]).write__(os__);
         }
     }
 }
开发者ID:hathagat,项目名称:KeeFox,代码行数:15,代码来源:KeeICE.cs

示例8: write

 public static void write(IceInternal.BasicStream os__, MCS.GuiHub.PushData[] v__)
 {
     if(v__ == null)
     {
         os__.writeSize(0);
     }
     else
     {
         os__.writeSize(v__.Length);
         for(int ix__ = 0; ix__ < v__.Length; ++ix__)
         {
             os__.writeByte((byte)v__[ix__], 10);
         }
     }
 }
开发者ID:JiangJunGG,项目名称:SyAutoH,代码行数:15,代码来源:iConstDef.cs

示例9: write__

 public void write__(IceInternal.BasicStream os__)
 {
     os__.writeString(nodeId);
     os__.writeString(parentNode);
     os__.writeInt(min);
     os__.writeInt(max);
     if(elems == null)
     {
         os__.writeSize(0);
     }
     else
     {
         os__.writeSize(elems.Length);
         for(int ix__ = 0; ix__ < elems.Length; ++ix__)
         {
             (elems[ix__] == null ? new IDHT.keyvaluepair() : elems[ix__]).write__(os__);
         }
     }
 }
开发者ID:darekfilip,项目名称:IDHT,代码行数:19,代码来源:idht.cs

示例10: write__

 public virtual void write__(IceInternal.BasicStream os__)
 {
     os__.writeTypeId(ice_staticId());
     os__.startWriteSlice();
     os__.writeSize(0); // For compatibility with the old AFM.
     os__.endWriteSlice();
 }
开发者ID:bholl,项目名称:zeroc-ice,代码行数:7,代码来源:Object.cs


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