Deserializer

zio.rocksdb.Deserializer
See theDeserializer companion object
trait Deserializer[-R, +A]

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Serde[R, A]
Self type
Deserializer[R, A]

Members list

Value members

Abstract methods

def decode(bytes: Bytes): ZIO[R, DeserializeError, Result[A]]

Concrete methods

final def flatMap[R1 <: R, B](f: A => Deserializer[R1, B]): Deserializer[R1, B]
final def map[B](f: A => B): Deserializer[R, B]
final def mapM[R1 <: R, B](f: A => ZIO[R1, DeserializeError, B]): Deserializer[R1, B]
final def mapMResult[R1 <: R, B](f: Result[A] => ZIO[R1, DeserializeError, Result[B]]): Deserializer[R1, B]
final def mapResult[B](f: Result[A] => Result[B]): Deserializer[R, B]
final def zip[R1 <: R, B](that: Deserializer[R1, B]): Deserializer[R1, (A, B)]
final def zipWith[R1 <: R, B, C](that: Deserializer[R1, B])(f: (A, B) => C): Deserializer[R1, C]