Skip to content

OLEError.fileIsNotOLE #16

@meili19916

Description

@meili19916

Hello,i use CryptoOffice to analysis a xlsx and a pptx file,but it stoped at OLEFile(path) of the method "try Header(&stream, fileSize: fileSize, path: path)" and the inner method "guard stream.readData(ofLength: magic.count) == magic else { throw OLEError.fileIsNotOLE(path) }", how to solve the problem?
I can use CoreXLSX to get the same xlsx file. so what's wrong with the OLEKit?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions