Skip to content

Compression API is inside-out #259

@masonwheeler

Description

@masonwheeler

The standard pattern for compression in .NET is that you get an output stream, then ask the library for an input stream and write data to it to be compressed, and decompression works similarly. In this library, it asks you for both the input and the output streams, which is very odd. Among other things, it means you can't read and write data with BinaryReader and BinaryWriter.

Can an option be added to have the library provide the compression stream, so that this compressor will be compatible with existing .NET code that uses other compression libraries?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions