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

Ice.LogMessageTypeSeqHelper Maven / Gradle / Ivy

//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.4
//
// 
//
// Generated from file `RemoteLogger.ice'
//
// Warning: do not edit this file.
//
// 
//

package Ice;

public final class LogMessageTypeSeqHelper
{
    public static void
    write(OutputStream ostr, LogMessageType[] v)
    {
        if(v == null)
        {
            ostr.writeSize(0);
        }
        else
        {
            ostr.writeSize(v.length);
            for(int i0 = 0; i0 < v.length; i0++)
            {
                LogMessageType.ice_write(ostr, v[i0]);
            }
        }
    }

    public static LogMessageType[]
    read(InputStream istr)
    {
        LogMessageType[] v;
        final int len0 = istr.readAndCheckSeqSize(1);
        v = new LogMessageType[len0];
        for(int i0 = 0; i0 < len0; i0++)
        {
            v[i0] = LogMessageType.ice_read(istr);
        }
        return v;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy