Package | org.igniterealtime.xiff.util |
Class | public class ZlibNative |
Inheritance | ZlibNative ![]() |
Implements | ICompressor |
See also
Method | Defined By | ||
---|---|---|---|
Stream Compression - Native DEFLATE
All multi-byte numbers in the format described in RFC 1950 are stored with
the MOST-significant byte first (at the lower memory address).
| ZlibNative | ||
clear():void | ZlibNative | ||
compress(data:ByteArray):ByteArray
Compress (deflate) the given ByteArray. | ZlibNative | ||
uncompress(data:ByteArray):ByteArray
Uncompress (inflate) the given ByteArray. | ZlibNative |
ZlibNative | () | Constructor |
public function ZlibNative()
Stream Compression - Native DEFLATE
All multi-byte numbers in the format described in RFC 1950 are stored with the MOST-significant byte first (at the lower memory address).
See also
clear | () | method |
public function clear():void
compress | () | method |
public function compress(data:ByteArray):ByteArray
Compress (deflate) the given ByteArray.
Parameters
data:ByteArray |
ByteArray — Compressed data
|
See also
uncompress | () | method |
public function uncompress(data:ByteArray):ByteArray
Uncompress (inflate) the given ByteArray.
Parameters
data:ByteArray |
ByteArray — Uncompressed data
|
See also