All Downloads are FREE. Search and download functionalities are using the official Maven repository.

endless.transaction.BinaryCodec.scala Maven / Gradle / Ivy

There is a newer version: 0.4.0
Show newest version
package endless.transaction

import endless.core.protocol.{Decoder, Encoder}

/** Type class for encoding and decoding entity IDs to and from binary */
trait BinaryCodec[A] extends Encoder[A] with Decoder[A]

object BinaryCodec {
  def apply[A](implicit codec: BinaryCodec[A]): BinaryCodec[A] = codec
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy