given_Flat_Option

scalus.serialization.flat.FlatInstances.given_Flat_Option
object given_Flat_Option extends Flat[Option[String]]

Attributes

Graph
Supertypes
trait Flat[Option[String]]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def bitSize(a: Option[String]): Int

Exact size of the encoding of a in bits. Callers use it to size the EncoderState buffer, so it must never under-estimate.

Exact size of the encoding of a in bits. Callers use it to size the EncoderState buffer, so it must never under-estimate.

Attributes

def decode(decode: DecoderState): Option[String]
def encode(a: Option[String], encode: EncoderState): Unit