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