Skip to main content

encode_bulletin

Function encode_bulletin 

Source
pub fn encode_bulletin(
    source: &[u8],
    path: &[&[u8]],
    bulletin_id: u8,
    text: &[u8],
) -> Result<Vec<u8>, EncodeError>
Expand description

Encodes a bulletin packet with a one-byte numeric bulletin identifier.