Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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]

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 EmfReader

let data = Data(contentsOfFile: ".emf")!
let file = try EmfFile(data: data)
try file.enumerateRecords { record in
print("Record: \(record)")
return .continue
}
```