V2Codecs

org.sigilaris.core.application.protocol.v2.V2Codecs
object V2Codecs

Explicit imports keep these stricter decoders out of published v1 APIs.

Attributes

Source
CoreCodec.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
V2Codecs.type

Members list

Value members

Concrete methods

def boundedVectorDecoder[A : ByteDecoder](maxElements: Long, maxEncodedBytes: Long): ByteDecoder[Vector[A]]

Attributes

Source
CoreCodec.scala
def enumDecoder[A](label: String, values: Vector[(Byte, A)]): ByteDecoder[A]

Attributes

Source
CoreCodec.scala

Givens

Givens

Attributes

Source
CoreCodec.scala

Attributes

Source
CoreCodec.scala

Attributes

Source
CoreCodec.scala
given optionDecoder[A : ByteDecoder]: ByteDecoder[Option[A]]

Attributes

Source
CoreCodec.scala

Attributes

Source
CoreCodec.scala
given vectorDecoder[A : ByteDecoder]: ByteDecoder[Vector[A]]

Every encoded V2 vector element consumes at least one byte.

Every encoded V2 vector element consumes at least one byte.

Attributes

Source
CoreCodec.scala
given vectorEncoder[A : ByteEncoder]: ByteEncoder[Vector[A]]

Attributes

Source
CoreCodec.scala