本文整理汇总了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__);
}
}
}
示例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__);
}
}
}
示例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__);
}
}
}
}
示例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__]);
}
}
}
示例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__);
}
示例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);
}
示例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__);
}
}
}
示例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);
}
}
}
示例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__);
}
}
}
示例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();
}