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

o-deps.proto_sjs1_2.13.2.1.3.source-code.codec.scala Maven / Gradle / Ivy

package proto

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

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

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





© 2015 - 2024 Weber Informatics LLC | Privacy Policy