|
static byte[] | gunzip (byte[] data) throws IOException |
static byte[] | unbzip2Headerless (byte[] data, int offset, int length) throws IOException |
static byte[] | unbzip2 (byte[] data) throws IOException |
/**
Definition at line 44 of file CompressionUtil.java.
◆ gunzip()
byte[] com.osroyale.fs.util.CompressionUtil.gunzip |
( |
byte[] | data | ) |
throws IOException |
|
inlinestatic |
Uncompresses a byte
array of g-zipped data.
- Parameters
-
data | The compressed, g-zipped data. |
- Returns
- The uncompressed data.
- Exceptions
-
IOException | If some I/O exception occurs. |
Definition at line 52 of file CompressionUtil.java.
◆ unbzip2()
byte[] com.osroyale.fs.util.CompressionUtil.unbzip2 |
( |
byte[] | data | ) |
throws IOException |
|
inlinestatic |
Uncompresses a byte
array of b-zipped data.
- Parameters
-
data | The compressed, b-zipped data. |
- Returns
- The uncompressed data.
- Exceptions
-
IOException | If some I/O exception occurs. |
Definition at line 88 of file CompressionUtil.java.
◆ unbzip2Headerless()
byte[] com.osroyale.fs.util.CompressionUtil.unbzip2Headerless |
( |
byte[] | data, |
|
|
int | offset, |
|
|
int | length ) throws IOException |
|
inlinestatic |
Uncompresses a byte
array of b-zipped data that does not contain a header.
A b-zip header block consists of 2 byte
s, they are replaced with 'h' and '1' as that is what our file
system
compresses the header as.
- Parameters
-
data | The compressed, b-zipped data. |
offset | The offset position of the data. |
length | The length of the data. |
- Returns
- The uncompressed data.
- Exceptions
-
IOException | If some I/O exception occurs. |
Definition at line 71 of file CompressionUtil.java.
The documentation for this class was generated from the following file: