Skip to content
This repository was archived by the owner on Jan 2, 2019. It is now read-only.
This repository was archived by the owner on Jan 2, 2019. It is now read-only.

Add support for loading from in-memory strings #677

@cubiclesoft

Description

@cubiclesoft

There are advantages to handling in-memory strings. Obviously this request is going to require a pretty significant refactoring of the code since files are assumed. Specifically, the current ZIP archive solutions only support files on disk, which is most likely the major roadblock. To that end:

https://github.com/cubiclesoft/ultimate-web-scraper/blob/master/support/deflate_stream.php

https://github.com/cubiclesoft/ultimate-web-scraper/blob/master/support/crc32_stream.php

Could be used as the basis of an in-memory-only zip file archiver/extractor. I've not had a chance to figure out what is involved, but both classes implement the most difficult components of the ZIP file format using in-memory data streams.

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