Package com.zeroc.Ice

Class ObjectSeqHelper

java.lang.Object
com.zeroc.Ice.ObjectSeqHelper

public final class ObjectSeqHelper extends Object
Helper class for marshaling/unmarshaling ObjectSeq.
  • Constructor Details

    • ObjectSeqHelper

      public ObjectSeqHelper()
  • Method Details

    • write

      public static void write(OutputStream ostr, Value[] v)
      Marshals a list of ObjectSeq into an output stream.
      Parameters:
      ostr - the output stream
      v - the list to marshal
    • read

      public static Value[] read(InputStream istr)
      Unmarshals a list of ObjectSeq from an input stream.
      Parameters:
      istr - the input stream
      Returns:
      the list
    • write

      public static void write(OutputStream ostr, int tag, Optional<Value[]> v)
      Marshals an optional list of ObjectSeq into an output stream.
      Parameters:
      ostr - the output stream
      tag - the tag
      v - the list to marshal
    • write

      public static void write(OutputStream ostr, int tag, Value[] v)
      Marshals an optional list of ObjectSeq into an output stream.
      Parameters:
      ostr - the output stream
      tag - the tag
      v - the list to marshal
    • read

      public static Optional<Value[]> read(InputStream istr, int tag)
      Unmarshals an optional list of ObjectSeq from an input stream.
      Parameters:
      istr - the input stream
      tag - the tag
      Returns:
      the list