A shortcut for fromMsgPack(StringCodec.toMsgPack(s))
A shortcut for fromMsgPack(StringCodec.toMsgPack(s))
Converting the object into MessagePack (= Array[Byte])
Converting the object into MessagePack (= Array[Byte])
Converting the input MessagePack into an object.
Converting the input MessagePack into an object. If the conversion fails, throw an IllegalArgumentException
(Since version ) see corresponding Javadoc for more information.
For generating codec for recursive types.
For example, if type X has a recursion like X(name:String, child:Option[X]), LazyCodec will be used to generate a codec instance as MessageCodec[X](StringCodec, OptionCodec(LazyCodec[X])).