Package

com.ironcorelabs.davenport

codec

Permalink

package codec

Visibility
  1. Public
  2. All

Type Members

  1. final case class ByteVectorDecoder[A](decode: (ByteVector) ⇒ \/[DecodeError, A]) extends Product with Serializable

    Permalink

    Decode a ByteVector into some type A

  2. final case class ByteVectorEncoder[A](encode: (A) ⇒ ByteVector) extends Product with Serializable

    Permalink

    Encode some A into a ByteVector for serialization using the encode function.

  3. case class DecodeError(message: String, cause: Option[Exception] = None) extends Product with Serializable

    Permalink

    Error indicating a failure to decode a value from a ByteVector.

Value Members

  1. object ByteVectorDecoder extends Serializable

    Permalink
  2. object ByteVectorEncoder extends Serializable

    Permalink

Ungrouped