dm_zlib_compress Function

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

Compresses input string using the zlib utility function.

The function returns the following error codes:

  • E_ALLOC if the allocation of the output string failed.
  • E_EMPTY if the compressed size is 0.
  • E_ZLIB if the compression failed.

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


Calls

proc~~dm_zlib_compress~~CallsGraph proc~dm_zlib_compress dm_zlib_compress compress compress proc~dm_zlib_compress->compress compress_bound compress_bound proc~dm_zlib_compress->compress_bound

Called by

proc~~dm_zlib_compress~~CalledByGraph proc~dm_zlib_compress dm_zlib_compress proc~dm_z_compress_type dm_z_compress_type proc~dm_z_compress_type->proc~dm_zlib_compress proc~dm_rpc_post_type dm_rpc_post_type proc~dm_rpc_post_type->proc~dm_z_compress_type proc~dm_rpc_post_types dm_rpc_post_types proc~dm_rpc_post_types->proc~dm_z_compress_type proc~dm_z_compress_types dm_z_compress_types proc~dm_z_compress_types->proc~dm_z_compress_type interface~dm_rpc_post dm_rpc_post interface~dm_rpc_post->proc~dm_rpc_post_type interface~dm_rpc_post->proc~dm_rpc_post_types