Skip to main content

DataB

@harmoniclabs/plutus-dataReadme | API


@harmoniclabs/plutus-data / DataB

Class: DataB

Constructors

new DataB(B)

new DataB(B): DataB

Parameters

B: string | ByteString | Uint8Array

Returns

DataB

Source

DataB.ts:11

Properties

_bytes

private _bytes: ByteString

Source

DataB.ts:5

Accessors

bytes

get bytes(): ByteString

Returns

ByteString

Source

DataB.ts:6

Methods

clone()

clone(): DataB

Returns

DataB

Source

DataB.ts:18


toJson()

toJson(): Object

Returns

Object

bytes

bytes: string

Source

DataB.ts:24


toString()

toString(): string

Returns

string

Source

DataB.ts:29