Struct elrond_wasm::hex_call_data::HexCallDataSerializer
source · pub struct HexCallDataSerializer(_);
Expand description
Serializes to Elrond’s smart contract call format.
This format consists of the function name, followed by ‘@’, follwed by hex-encoded argument bytes separated by ‘@’ characters. Example: “funcName@00000@aaaa@1234@@”. Arguments can be empty, in which case no hex digits are emitted. Argument hex encodings will always have an even number of digits.
HexCallDataSerializer owns its output.
Converting from whatever type the argument to bytes is not in scope. Use the serializer
module for that.