Skip to content

Swift definitions for structures, enumerations and functions defined in [MS-EMF]

Notifications You must be signed in to change notification settings

hughbe/EmfReader

Repository files navigation

EmfReader

Swift definitions for structures, enumerations and functions defined in MS-EMF

Example Usage

Add the following line to your project's SwiftPM dependencies:

.package(url: "https://github.com/hughbe/EmfReader", from: "1.0.0"),
import EmfReader

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

About

Swift definitions for structures, enumerations and functions defined in [MS-EMF]

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages