{"id":19414801,"url":"https://github.com/hughbe/emfplusreader","last_synced_at":"2026-06-20T05:01:25.049Z","repository":{"id":83950125,"uuid":"323898698","full_name":"hughbe/EmfPlusReader","owner":"hughbe","description":"Swift definitions for structures, enumerations and functions defined in [MS-EMFPLUS]","archived":false,"fork":false,"pushed_at":"2021-01-05T15:49:14.000Z","size":15600,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-25T03:12:14.257Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hughbe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-23T12:39:25.000Z","updated_at":"2021-01-05T15:49:16.000Z","dependencies_parsed_at":"2023-03-05T21:45:17.010Z","dependency_job_id":null,"html_url":"https://github.com/hughbe/EmfPlusReader","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hughbe/EmfPlusReader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hughbe%2FEmfPlusReader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hughbe%2FEmfPlusReader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hughbe%2FEmfPlusReader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hughbe%2FEmfPlusReader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hughbe","download_url":"https://codeload.github.com/hughbe/EmfPlusReader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hughbe%2FEmfPlusReader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34557553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T12:39:46.790Z","updated_at":"2026-06-20T05:01:25.043Z","avatar_url":"https://github.com/hughbe.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EmfPlusReader\n\nSwift definitions for structures, enumerations and functions defined in [MS-EMFPLUS](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-emfplus/).\n\n## Example Usage\n\nAdd the following line to your project's SwiftPM dependencies:\n```swift\n.package(url: \"https://github.com/hughbe/EmfPlusReader\", from: \"1.0.0\"),\n```\n\n```swift\nimport EmfReader\nimport EmfPlusReader\n\nlet data = Data(contentsOfFile: \"\u003cpath-to-file\u003e.emf\")!\nlet file = try EmfFile(data: data)\nvar emfPlusData = Data()\ntry file.enumerateRecords { record in\n    guard case let .comment(comment) = record,\n          case let .commentEmfPlus(emfPlusComment) = comment else {\n        return .continue\n    }\n\n    emfPlusData += emfPlusComment.emfPlusRecords\n    return .continue\n}\n\nlet emfPlusFile = try EmfPlusFile(data: emfPlusData)\ntry emfPlusFile.enumerateRecords { record in\n    if case let .object(object) = record {\n        if case .continues = object.objectData {\n            return .continue\n        }\n    }\n\n    print(record)\n    return .continue\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhughbe%2Femfplusreader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhughbe%2Femfplusreader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhughbe%2Femfplusreader/lists"}