Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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]
- Host: GitHub
- URL: https://github.com/hughbe/compoundfilereader
- Owner: hughbe
- License: mit
- Created: 2020-07-27T11:15:11.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-16T14:54:49.000Z (about 4 years ago)
- Last Synced: 2024-11-10T12:47:30.283Z (about 2 months ago)
- Language: Swift
- Size: 3.9 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 CompoundFileReaderlet data = Data(contentsOfFile: "")!
let file = try CompoundFile(data: data)
print(file.rootStorage)
```