Deserialize the address.
TODO: explain why we need this method
This method deserializes a byte array into an Address object.
Caller can test if the deserialization is successful by checking the
Result wrapping the offset value.
This offset can be used to identify where the next element starts in the byte array, if any.
The offset of the next serialized object in the byte array wrapped in a Result.
The byte string to deserialize.
The offset of the current serialized address object in the byte array.
Tests if two addresses are identical.
This method compares the string representation of the current Address object to another Address
object to determine if they are identical.
true if the addresses are identical, false otherwise.
The address object to compare.
Tests if two addresses are different.
This method compares the string representation of the current Address object to another Address
object to determine if they are different.
true if the addresses are different, false otherwise.
The address object to compare.
Serialize the address.
This method is used to serialize an Address object into a byte array, which can be passed as an argument to another smart contract's method, or stored in persistent storage.
The serialized byte string of the address.
Generated using TypeDoc
Represents a Massa blockchain address.