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

o-deps.proto_sjs1_3.2.1.3.source-code.codec.scala Maven / Gradle / Ivy

package proto

import com.google.protobuf.{CodedOutputStream, CodedInputStream}

trait Prepare:
  val size: Int
  def write(os: CodedOutputStream): Unit

trait MessageCodec[A]:
  def prepare(a: A): Prepare
  def read(is: CodedInputStream): A

type Codec[A] = MessageCodec[A]




© 2015 - 2024 Weber Informatics LLC | Privacy Policy