- 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
None
if successSome(-\/(_))
iffromBytes
returns deserialize errorSome(\/-(_))
iffromBytes
andtoByte
are inconsistent
final
def roundtripz(a: A, packer: MsgPacker, unpacker: Array[Byte] => MsgUnpacker)(implicit A: Equal[A]): Option[UnpackError \/ A]