Class LinkInfoSeqHelper

java.lang.Object
com.zeroc.IceStorm.LinkInfoSeqHelper

public final class LinkInfoSeqHelper extends Object
Helper class for marshaling/unmarshaling LinkInfoSeq.
  • Constructor Details

    • LinkInfoSeqHelper

      public LinkInfoSeqHelper()
  • Method Details

    • write

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

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

      public static void write(OutputStream ostr, int tag, Optional<LinkInfo[]> v)
      Marshals an optional list of LinkInfoSeq 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, LinkInfo[] v)
      Marshals an optional list of LinkInfoSeq into an output stream.
      Parameters:
      ostr - the output stream
      tag - the tag
      v - the list to marshal
    • read

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