Replies: 1 comment 13 replies
-
|
If you can send me a sample file or how the message was generated I will take a look. |
Beta Was this translation helpful? Give feedback.
13 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This project is amazing and I've enjoyed reading the code and the in-depth blog about reverse-engineering the
typedstreambinary format!I'm working on a project requiring reading messages from iMessage's database and my inspiration/prior art calls Objective-C to "parse" the
attributedBodyfield. Your proved it's feasible without that and I completed a prototype based onimessage-database/src/util/typedstream/parser.rs.I noticed some issues when decoding test messages I crafted1. This led me to do a deeper dive on the
typedstreamhandling especially how object nesting could be handled.I then discovered another project just parsing
typedstreamdata, python-typedstream. While I much prefer your code,python-typedstreamseems to decode while maintaining object nesting.All this to say reworking the
typedstreamhandling could be worth it in order to handle object nesting thereby more easily translatingArchivablesintoBubbleComponents.I'd take a pass at it myself, but I'm only barely able to read rust code and I'm not huge on how
python-typedstreamis structured.Footnotes
The issue stems from code parsing attribute dictionaries assuming a dictionary could only be a link or styles but not both. I can provide the exact test
attributedBodyif desired. ↩Beta Was this translation helpful? Give feedback.
All reactions