KeyCodec

final case class KeyCodec[A](encode: A => IndexedDbKey, decode: IndexedDbKey => CallbackTo[A])
Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def xmap[B](onDecode: A => B)(onEncode: B => A): KeyCodec[B]
def xmapSync[B](onDecode: A => CallbackTo[B])(onEncode: B => A): KeyCodec[B]

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product