Serialises derived types types
to namelist format and compresses
them depending on compression type z
. If z
is Z_TYPE_ZSTD
, the
function uses a Zstandard compression context. The serialised and
compressed results are returned in output
. The function returns
E_INVALID
if types
is unsupported. On error, not all strings of
output
may be allocated.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(*), | intent(inout) | :: | types(:) |
Derived types to serialise and compress. |
||
integer, | intent(in) | :: | z |
Output compression enumerator ( |
||
type(string_type), | intent(out), | allocatable | :: | output(:) |
Serialised and compressed types. |