Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hughbe/msgreader
Swift reader for msg files
https://github.com/hughbe/msgreader
Last synced: 2 days ago
JSON representation
Swift reader for msg files
- Host: GitHub
- URL: https://github.com/hughbe/msgreader
- Owner: hughbe
- Created: 2020-09-21T15:36:45.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-06T16:23:40.000Z (almost 4 years ago)
- Last Synced: 2024-11-10T12:47:28.483Z (about 2 months ago)
- Language: Swift
- Size: 16.4 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MsgReader
Swift definitions for structures, enumerations and functions defined in [MS-OXMSG](https://docs.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxmsg/)
## Example Usage
Add the following line to your project's SwiftPM dependencies:
```swift
.package(url: "https://github.com/hughbe/MsgReader", from: "1.0.0"),
``````swift
import MsgReaderlet data = Data(contentsOfFile: ".msg")!
let file = try MsgFile(data: data)
print(file.subject!)
```