public final class FilterUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
flateDecode(byte[] input)
Decodes a stream that has the FlateDecode filter.
|
static byte[] |
flateDecode(byte[] input, boolean strict)
A helper to FlateDecode.
|
static InputStream |
getInflaterInputStream(InputStream input) |
static void |
inflateData(byte[] deflated, byte[] inflated)
This method provides support for general purpose decompression using the popular ZLIB compression library.
|
public static byte[] flateDecode(byte[] input,
boolean strict)
input - the input data
strict - true to read a correct stream. false to try to read a corrupted stream
public static byte[] flateDecode(byte[] input)
input - the input data
public static void inflateData(byte[] deflated,
byte[] inflated)
deflated - the input data bytes
inflated - the buffer for the uncompressed data
public static InputStream getInflaterInputStream(InputStream input)
Copyright © 1998–2017 iText Group NV. All rights reserved.