//! bMessage encoder and parser (MAP spec appendix B).
//!//! Parse with [`BMessage::parse`]; encode with [`BMessage::encode`].
modencode;modparser;modtypes;pubusetypes::{BBody, BEnvelope, BMessage, BMessageError, BVCard, MessageStatus, MessageType};implBMessage{/// Parses a bMessage from UTF-8 text, accepting CRLF and LF line endings.
////// # Errors
////// Returns [`BMessageError`] when a required field is absent, a section is
/// unterminated, or STATUS/TYPE hold unrecognised values.
pubfnparse(input:&str)->Result<Self, BMessageError>{parser::parse_bmessage(input)}}