Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hughbe/emfreader
Swift definitions for structures, enumerations and functions defined in [MS-EMF]
https://github.com/hughbe/emfreader
Last synced: 2 days ago
JSON representation
Swift definitions for structures, enumerations and functions defined in [MS-EMF]
- Host: GitHub
- URL: https://github.com/hughbe/emfreader
- Owner: hughbe
- Created: 2020-12-09T13:50:14.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-29T16:31:05.000Z (about 4 years ago)
- Last Synced: 2024-11-10T12:47:31.327Z (about 2 months ago)
- Language: Swift
- Size: 20.8 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# EmfReader
Swift definitions for structures, enumerations and functions defined in [MS-EMF](https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-emf/)
## Example Usage
Add the following line to your project's SwiftPM dependencies:
```swift
.package(url: "https://github.com/hughbe/EmfReader", from: "1.0.0"),
``````swift
import EmfReaderlet data = Data(contentsOfFile: ".emf")!
let file = try EmfFile(data: data)
try file.enumerateRecords { record in
print("Record: \(record)")
return .continue
}
```