- Companion
- object
class Object
trait Matchable
class Any
Value members
Abstract methods
Concrete methods
final def roundtrip(a: A, packer: MsgPacker, unpacker: Array[Byte] => MsgUnpacker): Option[UnpackError \/ A]
- Returns
Noneif successSome(-\/(_))iffromBytesreturns deserialize errorSome(\/-(_))iffromBytesandtoByteare inconsistent
final def roundtripz(a: A, packer: MsgPacker, unpacker: Array[Byte] => MsgUnpacker)(A: Equal[A]): Option[UnpackError \/ A]