[][src]Function nimble::encode_to

pub async fn encode_to<'_, E: Encode + ?Sized, W: Write + Unpin + Send>(
    value: &'_ E,
    writer: W
) -> Result<usize>

Writes encoded byte array to writer and returns the number of bytes written