Constructor
new ByteArray(fixedSize, arrayInput)
- Description:
Creates a byte array.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
fixedSize |
number | Size of the array. |
arrayInput |
Uint8Array | string | Byte array or hex string. |
Members
NAME :string
- Description:
Byte array name (required because
constructor.name
is dropped during minification).
- Source:
Byte array name (required because constructor.name
is dropped during minification).
Type:
- string
bytes :Uint8Array
- Description:
Underlying bytes.
- Source:
Underlying bytes.
Type:
- Uint8Array
Methods
toString() → {string}
- Description:
Returns string representation of this object.
- Source:
Returns:
String representation of this object
- Type
- string