Trait

com.avsystem.commons.serialization

ListOutput

Related Doc: package serialization

Permalink

trait ListOutput extends SequentialOutput

Represents an abstract sink for serialization of sequences of values. Any ListOutput instance must be assumed to be stateful and used in strictly sequential manner. After all elements have been written, finish() must be called to explicitly mark that the list is complete.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ListOutput
  2. SequentialOutput
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def finish(): Unit

    Permalink

    Indicates that all elements or fields in this SequentialOutput have been written.

    Indicates that all elements or fields in this SequentialOutput have been written. This method MUST always be called after list/object writing has been finished.

    Definition Classes
    SequentialOutput
  2. abstract def getClass(): Class[_]

    Permalink
    Definition Classes
    Any
  3. abstract def writeElement(): Output

    Permalink

    Returns an Output representing next element in this list.

    Returns an Output representing next element in this list. This Output instance MUST be fully used before calling writeElement next time. That means, one can NOT simultaneously use multiple instances of Output returned by subsequent calls to this method.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  6. def hashCode(): Int

    Permalink
    Definition Classes
    Any
  7. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  8. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from SequentialOutput

Inherited from Any

Ungrouped