DataB
@harmoniclabs/plutus-data • Readme | API
@harmoniclabs/plutus-data / DataB
Class: DataB
Constructors
new DataB(B)
new DataB(
B
):DataB
Parameters
• B: string
| ByteString
| Uint8Array
Returns
Source
Properties
_bytes
private
_bytes:ByteString
Source
Accessors
bytes
get
bytes():ByteString
Returns
ByteString
Source
Methods
clone()
clone():
DataB
Returns
Source
toJson()
toJson():
Object
Returns
Object
bytes
bytes:
string
Source
toString()
toString():
string
Returns
string