Skip to main content

process_body

Function process_body 

Source
pub fn process_body(body: &[u8], dcs: u8, udhi: bool) -> MessageBody
Expand description

Processes the raw message body based on Data Coding Scheme (DCS) and UDHI flag. Returns a MessageBody which is either Text (if decodable) or Binary.