PackSupport

If a class is extending PackSupport, pack(Packer) method will be used for serializing (packing) this object.

For deserializing (unpacking) data of type A, define a package method unapply(string:String): Option[A].

In future, we may support unapply(u:Unpacker): Option[A] method

class Object
trait Matchable
class Any

Value members

Abstract methods

def pack(packer: Packer): Unit