Skip to main content

encode_plain_info

Function encode_plain_info 

Source
pub fn encode_plain_info(
    target: &str,
    message: &str,
) -> Result<Vec<u8>, &'static str>
Expand description

Encode only the message-only INFO class. Geometry/UTF-8 are checked again by the host; no raw INFO line can substitute for this envelope.