net.message.ParameterDescription.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of skunk-core_2.12 Show documentation
Show all versions of skunk-core_2.12 Show documentation
Tagless, non-blocking data access library for Postgres.
The newest version!
// Copyright (c) 2018-2021 by Rob Norris
// This software is licensed under the MIT License (MIT).
// For more information see LICENSE or https://opensource.org/licenses/MIT
package skunk.net.message
import scodec._
import scodec.codecs._
case class ParameterDescription(oids: List[Int]) extends BackendMessage
object ParameterDescription {
final val Tag = 't'
val decoder: Decoder[ParameterDescription] =
codecs.listOfN(int16, int32).map(ParameterDescription(_))
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy