Chill

cryptic.codec.Chill
object Chill extends Companion

Object Chill provides encoding and decoding functionality using Kryo serialization. It contains a Kryo pool and given methods for encoding and decoding.

The codec method creates a new instance of Codec[V].

The encode method converts a value of type V to a PlainText using Kryo serialization.

The decode method converts a PlainText back to a value of type V using Kryo serialization.

Attributes

Graph
Supertypes
trait Companion
class Object
trait Matchable
class Any
Self type
Chill.type

Members list

Givens

Givens

given codec[V]: codec[V]

Extensions

Inherited extensions

extension [V](plainText: PlainText)
def decoded: Try[V]

Attributes

Inherited from:
Companion
extension [V](v: V)
def encoded: PlainText

Attributes

Inherited from:
Companion