Function parse

Source
pub fn parse(stream: Vec<u8>) -> Result<String, StreamTypedError>
Expand description

Parse the body text from a known type of typedstream attributedBody file.

attributedBody typedstream data looks like:

streamtyped���@���NSAttributedString�NSObject����NSString��+Example message  ��iI���� NSDictionary��i����__kIMMessagePartAttributeName����NSNumber��NSValue��*������

In that example, the returned body text would be "Example message".