tamer.OutputStreamEncoder.scala Maven / Gradle / Ivy
The newest version!
package tamer
object OutputStreamEncoder {
def avro4sOutputStream[A](
schema: org.apache.avro.Schema,
encoderA: com.sksamuel.avro4s.Encoder[A]
): com.sksamuel.avro4s.AvroOutputStreamBuilder[A] =
com.sksamuel.avro4s.AvroOutputStream.binary(schema, encoderA)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy