Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/hughbe/compoundfilereader

Swift package to read compound file (Structured Storage File) content documented in [MS-CFB]
https://github.com/hughbe/compoundfilereader

Last synced: 2 days ago
JSON representation

Swift package to read compound file (Structured Storage File) content documented in [MS-CFB]

Awesome Lists containing this project

README

        

# CompoundFileReader

Swift package to read compound file (Structured Storage File) content documented in [MS-CFB](https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-cfb/53989ce4-7b05-4f8d-829b-d08d6148375b)

## Example Usage

Add the following line to your project's SwiftPM dependencies:
```swift
.package(url: "https://github.com/hughbe/CompoundFileReader", from: "1.0.0"),
```

```swift
import CompoundFileReader

let data = Data(contentsOfFile: "")!
let file = try CompoundFile(data: data)
print(file.rootStorage)
```