Class CLValueByteArray

Represents a byte array value in the Casper type system. This class encapsulates a byte array, providing methods for conversion to and from CLValue.

Hierarchy

  • CLValueByteArray

Constructors

Properties

Methods

Constructors

Properties

data: Uint8Array

Methods

  • Retrieves the byte representation of the byte array.

    Returns

    A Uint8Array representing the bytes of the byte array.

    Returns Uint8Array

  • Converts the instance to a JSON-compatible byte array.

    Returns

    The byte representation of the instance.

    Returns Uint8Array

  • Provides a hexadecimal string representation of the byte array. Each byte is represented by two hexadecimal digits.

    Returns

    A string representing the byte array in hexadecimal format.

    Returns string

Generated using TypeDoc