Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 MsgReader

let data = Data(contentsOfFile: ".msg")!
let file = try MsgFile(data: data)
print(file.subject!)
```