BsListReqHelper.java 1.24 KB
// **********************************************************************
//
// Copyright (c) 2003-2013 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.5.1
//
// <auto-generated>
//
// Generated from file `bsd.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//

package BaseStationData;

public final class BsListReqHelper
{
    public static void
    write(IceInternal.BasicStream __os, BsData[] __v)
    {
        if(__v == null)
        {
            __os.writeSize(0);
        }
        else
        {
            __os.writeSize(__v.length);
            for(int __i0 = 0; __i0 < __v.length; __i0++)
            {
                __v[__i0].__write(__os);
            }
        }
    }

    public static BsData[]
    read(IceInternal.BasicStream __is)
    {
        BsData[] __v;
        final int __len0 = __is.readAndCheckSeqSize(12);
        __v = new BsData[__len0];
        for(int __i0 = 0; __i0 < __len0; __i0++)
        {
            __v[__i0] = new BsData();
            __v[__i0].__read(__is);
        }
        return __v;
    }
}