ThriftCodec

object ThriftCodec extends BinaryCodec
trait BinaryCodec
trait Codec[Chunk[Byte], Byte]
class Object
trait Matchable
class Any

Type members

Classlikes

class Decoder(chunk: Chunk[Byte]) extends MutableSchemaBasedValueBuilder[Any, DecoderContext]
final case class DecoderContext(path: Path, expectedCount: Option[Int])
class Encoder extends MutableSchemaBasedValueProcessor[Unit, Context]
Companion:
object
object Encoder
Companion:
class

Types

type Path = Chunk[String]
type PrimitiveDecoder[A] = Path => A

Value members

Concrete methods

override def decoderFor[A](schema: Schema[A]): BinaryDecoder[A]
Definition Classes
Codec
override def encoderFor[A](schema: Schema[A]): BinaryEncoder[A]
Definition Classes
Codec

Inherited methods

final def decode[A](schema: Schema[A]): Chunk[Byte] => Either[DecodeError, A]
Inherited from:
Codec
final def decoder[A](schema: Schema[A]): ZPipeline[Any, DecodeError, Byte, A]
Inherited from:
Codec
final def encode[A](schema: Schema[A]): A => Chunk[Byte]
Inherited from:
Codec
final def encoder[A](schema: Schema[A]): ZPipeline[Any, Nothing, A, Byte]
Inherited from:
Codec