Swift reader of OLE Property Sets defined in MS-OLEPS
Add the following line to your project's SwiftPM dependencies:
.package(url: "https://github.com/hughbe/OlePropertySet", from: "1.0.0"),
import CompoundFileReader
import MsgReader
let data = Data(contentsOfFile: "<path-to-file>.doc")!
let file = try CompoundFile(data: data)
var rootStorage = file.rootStorage
var dataStream = rootStorage.children["\u{0005}SummaryInformation"]!.dataStream
let summaryInformation = try PropertySetStream(dataStream: &dataStream)
print(summaryInformation)