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 datastrict - true to read a correct stream. false
to try to read a corrupted streampublic static byte[] flateDecode(byte[] input)
input - the input datapublic static void inflateData(byte[] deflated,
byte[] inflated)
deflated - the input data bytesinflated - the buffer for the uncompressed datapublic static InputStream getInflaterInputStream(InputStream input)
Copyright © 1998–2018 iText Group NV. All rights reserved.