All Downloads are FREE. Search and download functionalities are using the official Maven repository.

IcePatch2.FileInfoSeqHelper Maven / Gradle / Ivy

There is a newer version: 3.7.10
Show newest version
// **********************************************************************
//
// 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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy