IcePatch2.FileInfoSeqHelper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of icepatch2 Show documentation
Show all versions of icepatch2 Show documentation
File distribution and patching for Ice
// **********************************************************************
//
// Copyright (c) 2003-2017 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.4
//
//
//
// Generated from file `FileInfo.ice'
//
// Warning: do not edit this file.
//
//
//
package IcePatch2;
public final class FileInfoSeqHelper
{
public static void
write(IceInternal.BasicStream __os, FileInfo[] __v)
{
if(__v == null)
{
__os.writeSize(0);
}
else
{
__os.writeSize(__v.length);
for(int __i0 = 0; __i0 < __v.length; __i0++)
{
FileInfo.__write(__os, __v[__i0]);
}
}
}
public static FileInfo[]
read(IceInternal.BasicStream __is)
{
FileInfo[] __v;
final int __len0 = __is.readAndCheckSeqSize(7);
__v = new FileInfo[__len0];
for(int __i0 = 0; __i0 < __len0; __i0++)
{
__v[__i0] = FileInfo.__read(__is, __v[__i0]);
}
return __v;
}
}