Skip to main content

push_tagged

Function push_tagged 

Source
fn push_tagged<D, const N: usize>(
    data: &mut D,
    tag: u8,
    payload: &[u8; N],
    len: usize,
)
where D: Vector<u8>,
Expand description

Appends tag followed by the first len bytes of payload, with a single write.