trait ObjectSerializer[A, S, Ptr[_]] extends AnyRef
Serialization of (potentially cyclic) object graphs. Features:
- abstracted over pointers;
- termination and correctness in presence of cycles;
- stack safety.
- A
type of objects that this serializer can serialize.
- S
type of data this serializer writes when serializing
A
, e.g.String
, byte array, etc.- Ptr
abstraction of pointers.
- Self Type
- ObjectSerializer[A, S, Ptr]
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- ObjectSerializer
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def pointer: ObjectSerializer[Ptr[A], S, Ptr]
- abstract def serialize[M[_]](a: A)(implicit ev: MonadObjectOutput[M, S, Ptr]): M[Unit]
- abstract def write[O](out: O, a: A)(implicit ev: ObjectOutput[O, S, Ptr]): O
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def free(a: A): FreeObjectOutput[S, Ptr, Unit]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def shallowShow(implicit S: ShowK[Ptr], ev: ===[S, String]): Show[A]
- def show(deref: ~>[Ptr, scalaz.Id.Id], showRef: ~>[Ptr, [α]String])(decorateReferenced: ~>[Ptr, [α]IndexedDecoration[String, String]] = λ[Ptr ~> λ[α => Decoration[String]]](ref => Decoration(s"<def ${showRef(ref)}>", "</def>")), decorateUnreferenced: ~>[Ptr, [α]IndexedDecoration[String, String]] = λ[Ptr ~> λ[α => Decoration[String]]](ref => Decoration("", "")), decorateReference: (String) => String = ref => s"<ref $ref/>")(implicit E: HEqualK[Ptr], ev: ===[S, String]): Show[A]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated