Hash512⚓︎
- Hash512
- Represents a fixed size byte array.
Extends⚓︎
Constructors⚓︎
new Hash512()⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
hash512? |
Uint8Array<ArrayBuffer> |
Returns⚓︎
Hash512
Overrides⚓︎
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⚓︎
Returns⚓︎
number
Methods⚓︎
serialize()⚓︎
Returns⚓︎
Uint8Array<ArrayBuffer>
toJson()⚓︎
- Hash512.serialize
- Returns representation of this object that can be stored in JSON.
Returns⚓︎
string
JSON-safe representation of this object.
Inherited from⚓︎
toString()⚓︎
- Hash512.toString
- Returns string representation of this object.
Returns⚓︎
string
String representation of this object
Inherited from⚓︎
deserialize()⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
payload |
any |
Returns⚓︎
Hash512