Skip to main content

encode_invocation

Function encode_invocation 

Source
pub fn encode_invocation(
    buf: &mut BytesMut,
    instance: &str,
    func: &str,
    params_len: usize,
) -> Result<()>
Expand description

Encodes the header of an invocation, which is followed by params_len bytes of parameters, to a BytesMut

This is low-level API, most users should use invoke.