Serialize an argument to BCS-serialized bytes.
The serializer instance used for serialization.
Serialize an argument to BCS-serialized bytes. Serialize an argument as a type-agnostic, fixed byte sequence. The byte sequence contains the number of the following bytes followed by the BCS-serialized bytes for a typed argument.
The serializer used to convert the argument.
Serialize an argument to BCS-serialized bytes as a type aware byte sequence. The byte sequence contains an enum variant index followed by the BCS-serialized bytes for a typed argument.
Static
deserialize
Represents a 16-bit unsigned integer (U16) value. This class extends the Serializable class and provides methods for serialization and deserialization of the U16 value.