Represents a fixed size byte array.

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

  • Creates a byte array.

    Parameters

    • fixedSize: number

      Size of the array.

    • arrayInput: string | Uint8Array

      Byte array or hex string.

    Returns ByteArray

Properties

bytes: Uint8Array

Underlying bytes.

NAME: string

Byte array name (required because constructor.name is dropped during minification).

Methods

  • Returns representation of this object that can be stored in JSON.

    Returns string

    JSON-safe representation of this object.

  • Returns string representation of this object.

    Returns string

    String representation of this object