given_Encoder_Metadatum

scalus.cardano.ledger.Metadatum.given_Encoder_Metadatum
object given_Encoder_Metadatum extends Encoder[Metadatum]

CBOR encoder for TransactionMetadatum.

It does not recurse over the nesting: it keeps the lists and maps it has opened on the heap (NestedCbor.writeNested), so how deep it writes does not depend on the stack of the thread that writes. A list is written as borer writes an IndexedSeq, and a map entry by entry, in its order.

Attributes

Graph
Supertypes
trait Encoder[Metadatum]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def write(w: Writer, value: Metadatum): Writer