Initializes a new instance of the CLTypeByteArray class.
Specifies the fixed size of the byte array.
Converts the CLTypeByteArray instance to a JSON-compatible representation. The JSON object contains a single key-value pair, where the key is "ByteArray" and the value is the size of the array.
An object with the ByteArray size.
Static
fromJSONConstructs a CLTypeByteArray instance from a JSON representation.
A new CLTypeByteArray instance.
Will throw an error if the input type is not a number.
The JSON input containing the size of the ByteArray.
Generated using TypeDoc
Represents a fixed-size ByteArray type within the Casper type system. This class allows for defining a ByteArray with a specific size, and includes methods to handle its serialization, string representation, and conversion to JSON format.