fidl_next::protocol

Function encode_buffer

Source
pub fn encode_buffer<T: Transport, M>(
    buffer: &mut T::SendBuffer,
    txid: u32,
    ordinal: u64,
    message: &mut M,
) -> Result<(), EncodeError>
where for<'a> T::Encoder<'a>: Encoder, M: for<'a> Encode<T::Encoder<'a>>,
Expand description

Encodes a message into the given buffer.