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

Ice.LogMessageSeqHelper Maven / Gradle / Ivy

Go to download

Ice is a comprehensive RPC framework that helps you build distributed applications with minimal effort using familiar object-oriented idioms

There is a newer version: 3.7.10
Show newest version
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.5
//
// 
//
// Generated from file `RemoteLogger.ice'
//
// Warning: do not edit this file.
//
// 
//

package Ice;

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy