Abstraction layer over zlib (deflate, inflate).
Compresses input string using the zlib utility function.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(inout) | :: | input |
Input bytes. |
||
character(len=:), | intent(out), | allocatable | :: | output |
Output bytes. |
|
integer(kind=i8), | intent(in), | optional | :: | input_len |
Actual input length. |
|
integer(kind=i8), | intent(out), | optional | :: | output_len |
Actual output length. |
Uncompresses input string using the zlib utility function. The output
buffer must be large enough to hold the uncompressed result. Returns
E_ZLIB
if the decompression failed.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(inout) | :: | input |
Input bytes. |
||
character(len=*), | intent(inout) | :: | output |
Output bytes. |
||
integer(kind=i8), | intent(in), | optional | :: | input_len |
Actual input length. |
|
integer(kind=i8), | intent(out), | optional | :: | output_len |
Actual output length. |