dm_zlib Module

Abstraction layer over zlib (deflate, inflate).


Uses

  • module~~dm_zlib~~UsesGraph module~dm_zlib dm_zlib module~dm_error dm_error module~dm_zlib->module~dm_error module~dm_kind dm_kind module~dm_zlib->module~dm_kind zlib zlib module~dm_zlib->zlib module~dm_error->module~dm_kind module~dm_ascii dm_ascii module~dm_error->module~dm_ascii iso_fortran_env iso_fortran_env module~dm_kind->iso_fortran_env

Used by

  • module~~dm_zlib~~UsedByGraph module~dm_zlib dm_zlib module~dm_z dm_z module~dm_z->module~dm_zlib module~dmpack dmpack module~dmpack->module~dm_zlib module~dmpack->module~dm_z module~dm_rpc dm_rpc module~dmpack->module~dm_rpc module~dm_rpc->module~dm_z

Functions

public function dm_zlib_compress(input, output, input_len, output_len) result(rc)

Compresses input string using the zlib utility function.

Read more…

Arguments

Type IntentOptional 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.

Return Value integer

public function dm_zlib_uncompress(input, output, input_len, output_len) result(rc)

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.

Arguments

Type IntentOptional 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.

Return Value integer