コンテンツにスキップ

ProofScalar⚓︎

ProofScalar
Represents a fixed size byte array.

Extends⚓︎

Constructors⚓︎

new ProofScalar()⚓︎

new ProofScalar(proofScalar?): ProofScalar

Parameters⚓︎

Parameter Type
proofScalar? Uint8Array<ArrayBuffer>

Returns⚓︎

ProofScalar

Overrides⚓︎

ByteArray.constructor

Properties⚓︎

Property Modifier Type Description Inherited from
bytes public Uint8Array<ArrayBuffer> Underlying bytes. ByteArray.bytes
NAME static string Byte array name (required because constructor.name is dropped during minification). ByteArray.NAME
SIZE static number - -

Accessors⚓︎

size⚓︎

Get Signature⚓︎

get size(): number
Returns⚓︎

number

Methods⚓︎

serialize()⚓︎

serialize(): Uint8Array<ArrayBuffer>

Returns⚓︎

Uint8Array<ArrayBuffer>


toJson()⚓︎

toJson(): string
ProofScalar.serialize
Returns representation of this object that can be stored in JSON.

Returns⚓︎

string

JSON-safe representation of this object.

Inherited from⚓︎

ByteArray.toJson


toString()⚓︎

toString(): string
ProofScalar.toString
Returns string representation of this object.

Returns⚓︎

string

String representation of this object

Inherited from⚓︎

ByteArray.toString


deserialize()⚓︎

static deserialize(payload): ProofScalar

Parameters⚓︎

Parameter Type
payload any

Returns⚓︎

ProofScalar