Inflater und nowrap

Status
Nicht offen für weitere Antworten.

Ark

Top Contributor
Ich brauche einen Inflater, wie es scheint, werde ich dabei den folgenden Konstruktor verwenden:
public Inflater(boolean nowrap)

Creates a new decompressor. If the parameter 'nowrap' is true then the ZLIB header and checksum fields will not be used. This provides compatibility with the compression format used by both GZIP and PKZIP.

Note: When using the 'nowrap' option it is also necessary to provide an extra "dummy" byte as input. This is required by the ZLIB native library in order to support certain optimizations.

Parameters:
nowrap - if true then support GZIP compatible compression
Nur verstehe ich diese "Note" nicht. Kann die mir mal jemand praktisch erklären bzw. zeigen, wie man das macht, was da beschrieben wird?

MfG
Ark
 

Ark

Top Contributor
Verdammt, das kann doch nicht sein, dass hier wirklich niemand ist, der mein Anliegen, oder besser, das Problem hier versteht! :(
 

materthron

Mitglied
Ich versteh nicht ganz was du machen willst was da beschrieben wird.

Wenn das boolean Argument nowrap wahr ist, dann wird GZIP-kompatibel komprimiert. Mehr ned!
Das steht alles unterhalb von Parameter.
 
Status
Nicht offen für weitere Antworten.

Neue Themen


Oben