B

scalus.uplc.builtin.Data.B
case class B(value: ByteString) extends Data

Byte string - represents binary data.

Used to encode ByteString, PubKeyHash, CurrencySymbol, TokenName, etc.

Corresponds to UPLC builtins bData and unBData.

Value parameters

value

the byte string

Attributes

Example
 B(ByteString.fromHex("deadbeef"))
 B(ByteString.empty)
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Data
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
override def toString: String

Debug string representation matching the Pretty instance format

Debug string representation matching the Pretty instance format

Attributes

Definition Classes
Data -> Any
Inherited from:
Data