Decoder

smithy4s.codecs.Decoder
See theDecoder companion object
trait Decoder[F[_], -In, A]

An abstraction that codifies the action of reading data from some input.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Decoder[F, In, A]

Members list

Value members

Abstract methods

def decode(in: In): F[A]

Concrete methods

final def compose[In2](f: In2 => In): Decoder[F, In2, A]
final def map[B](f: A => B)(implicit C: Covariant[F]): Decoder[F, In, B]
final def mapK[G[_]](fk: PolyFunction[F, G]): Decoder[G, In, A]
final def narrow[M2 <: In]: Decoder[F, M2, A]
final def sequence(implicit Z: Zipper[F]): Decoder[F, Seq[In], Seq[A]]