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

fs2.kafka.internal.converters.scala Maven / Gradle / Ivy

There is a newer version: 3.6.0-RC1
Show newest version
/*
 * Copyright 2018-2024 OVO Energy Limited
 *
 * SPDX-License-Identifier: Apache-2.0
 */

package fs2.kafka.internal

import scala.collection.immutable.ArraySeq

private[kafka] object converters {

  val collection = scala.jdk.CollectionConverters
  val option     = scala.jdk.OptionConverters
  val duration   = scala.jdk.DurationConverters

  def unsafeWrapArray[A](array: Array[A]): Seq[A] =
    ArraySeq.unsafeWrapArray(array)

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy