): Person = {
    val split = utf16StringReader.read(bytes).split(&quot;:&quot;)
    val name = split(0)
    val age = split(1).toInt
    Person(name, age)
  }
}
</code></pre>
<h4><a href="#full-example" name="full-example" class="anchor"><span class="anchor-link"></span></a>Full example</h4>
<pre class="prettyprint"><code class="language-scala">import scredis._
import scredis.serialization._
import scredis.exceptions._
import scala.util.{ Success, Failure }

// Creates a Redis instance with default configu