KeepRaw

scalus.cardano.ledger.KeepRaw
See theKeepRaw companion class
object KeepRaw

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
KeepRaw.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply[A : Encoder](value: A): KeepRaw[A]

Create a KeepRaw instance from a value, encoding it to CBOR to get the raw bytes

Create a KeepRaw instance from a value, encoding it to CBOR to get the raw bytes

Attributes

def lens[A : Encoder](): Lens[KeepRaw[A], A]
def unsafe[A](value: A, raw: => Array[Byte]): KeepRaw[A]

Create a KeepRaw instance from a value and its raw CBOR bytes

Create a KeepRaw instance from a value and its raw CBOR bytes

Attributes

Note

This method creates a KeepRaw instance that may be CBOR encoded differently from the original raw bytes. Use it only if you know what you are doing.

Givens

Givens

given given_Decoder_KeepRaw[A : Decoder](implicit evidence$1: Decoder[A], OriginalCborByteArray): Decoder[KeepRaw[A]]
given given_Encoder_KeepRaw[A : Encoder]: Encoder[KeepRaw[A]]