commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Bodewig (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COMPRESS-147) Add a Snappy compressor
Date Wed, 06 Nov 2013 14:05:17 GMT

    [ https://issues.apache.org/jira/browse/COMPRESS-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13814906#comment-13814906
] 

Stefan Bodewig commented on COMPRESS-147:
-----------------------------------------

For a Decompressor like this I'd expect it to be byte-array based rather than stream based
- something akin to java.util.zip.Inflater.  It doesn't look to different to modify the Decompressor
or pile an array based API on top of it.

Leaving wrapper format specifications aside if I wanted to write a FilterInputStream using
the Decompressor as it stands I'd have to write the compressed input to a ByteArrayOutputStream
and turn it back into an inputstream when done, the implementation would be way simpler with
a block based Decompressor.

> Add a Snappy compressor
> -----------------------
>
>                 Key: COMPRESS-147
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-147
>             Project: Commons Compress
>          Issue Type: Wish
>          Components: Compressors
>            Reporter: Christian Grobmeier
>            Priority: Minor
>         Attachments: SnappyDecompressor.java
>
>
> Add a Snappy compressor to the Compress lib. Currently there is only a C implementation
linked with JNI to Java.
> [1] http://code.google.com/p/snappy/
> [2] http://code.google.com/p/snappy-java/



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message