pub fn encode_call_header(
contract: &str,
method: &str,
) -> Result<Vec<u8>, ComponentError>Expand description
Encode a call header: the contract name’s byte length as a little-endian u16, the contract
name, then the method name, which runs to the end of the header. Both are UTF-8.