Serialises derived type
to namelist format and compresses it
depending on compression type z
. The serialised and compressed
result is returned in output
. The argument output_len
will equal
the length of output
. The function returns E_INVALID
if type
is unsupported.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(*), | intent(inout) | :: | type |
Derived type to serialise and compress. |
||
integer, | intent(in) | :: | z |
Output compression enumerator ( |
||
character(len=:), | intent(out), | allocatable | :: | output |
Serialised and compressed type. |
|
integer(kind=i8), | intent(out), | optional | :: | output_len |
Output length. |
|
type(zstd_context_type), | intent(inout), | optional | :: | context |
Zstandard compression context to use with type |