Ice.IdentitySeqHelper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ice Show documentation
Show all versions of ice Show documentation
Ice is a comprehensive RPC framework that helps you build distributed applications with minimal effort using familiar object-oriented idioms
// **********************************************************************
//
// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.6.5
//
//
//
// Generated from file `Identity.ice'
//
// Warning: do not edit this file.
//
//
//
package Ice;
public final class IdentitySeqHelper
{
public static void
write(IceInternal.BasicStream __os, Identity[] __v)
{
if(__v == null)
{
__os.writeSize(0);
}
else
{
__os.writeSize(__v.length);
for(int __i0 = 0; __i0 < __v.length; __i0++)
{
Identity.__write(__os, __v[__i0]);
}
}
}
public static Identity[]
read(IceInternal.BasicStream __is)
{
Identity[] __v;
final int __len0 = __is.readAndCheckSeqSize(2);
__v = new Identity[__len0];
for(int __i0 = 0; __i0 < __len0; __i0++)
{
__v[__i0] = Identity.__read(__is, __v[__i0]);
}
return __v;
}
}