Class FilterUtil
This file is a helper class for internal usage only. Be aware that its API and functionality may be changed in future.
public static class FilterUtil
- Inheritance
-
FilterUtil
- Inherited Members
Methods
FlateDecode(byte[])
Decodes a stream that has the FlateDecode filter.
public static byte[] FlateDecode(byte[] input)
Parameters
input
byte[]the input data
Returns
- byte[]
the decoded data
FlateDecode(byte[], bool)
A helper to FlateDecode.
public static byte[] FlateDecode(byte[] input, bool strict)
Parameters
input
byte[]the input data
strict
booltrue
to read a correct stream.false
to try to read a corrupted stream
Returns
- byte[]
the decoded data
GetInflaterInputStream(Stream)
public static Stream GetInflaterInputStream(Stream input)
Parameters
input
Stream
Returns
InflateData(byte[], byte[])
This method provides support for general purpose decompression using the popular ZLIB compression library.
public static void InflateData(byte[] deflated, byte[] inflated)