private interface b64_decode_up
Decode unlimited polymorphic variable from base64.
This is an interface for decoding both scalar and array.
Note Before start to decode anything the library must be initialized. The procedure b64_init
must be called at first. The
global variable is_b64_initialized
can be used to check the status of the initialization.
For a practical example see the autotest
procedure.
real(R8P):: decoded ! scalar to be decoded
...
call b64_decode_up(code='AAAAAAAA8D8=',up=decoded)
integer(I8P):: decoded(1:4) ! array to be decoded
...
call b64_decode_up(code='FwAAAAAAAABEAQAAAAAAABBwhAEAAAAAAgAAAAAAAAA=',up=decoded)
Note If you want to decode heterogenous data (e.g. integer and real numbers), you must use the auxiliary pack_data
procedure.
Warning The decoding of array of strings is admitted only if each string of the array has the same length.
Calls
interface~~b64_decode_up~~CallsGraph
interface~b64_decode_up
b64_decode_up
interface~b64_decode_up->interface~b64_decode_up
proc~b64_decode_up_a
b64_decode_up_a
interface~b64_decode_up->proc~b64_decode_up_a
proc~b64_decode_r4_a
b64_decode_R4_a
proc~b64_decode_up_a->proc~b64_decode_r4_a
proc~b64_decode_i2_a
b64_decode_I2_a
proc~b64_decode_up_a->proc~b64_decode_i2_a
proc~b64_decode_i8_a
b64_decode_I8_a
proc~b64_decode_up_a->proc~b64_decode_i8_a
proc~b64_decode_r8_a
b64_decode_R8_a
proc~b64_decode_up_a->proc~b64_decode_r8_a
proc~b64_decode_string_a
b64_decode_string_a
proc~b64_decode_up_a->proc~b64_decode_string_a
proc~b64_decode_i4_a
b64_decode_I4_a
proc~b64_decode_up_a->proc~b64_decode_i4_a
proc~b64_decode_i1_a
b64_decode_I1_a
proc~b64_decode_up_a->proc~b64_decode_i1_a
proc~decode_bits
decode_bits
proc~b64_decode_r4_a->proc~decode_bits
proc~b64_decode_i2_a->proc~decode_bits
proc~b64_decode_i8_a->proc~decode_bits
proc~b64_decode_r8_a->proc~decode_bits
proc~b64_decode_string_a->proc~decode_bits
byte_size
byte_size
proc~b64_decode_string_a->byte_size
proc~b64_decode_i4_a->proc~decode_bits
proc~b64_decode_i1_a->proc~decode_bits
Nodes of different colours represent the following:
Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Module Procedures
Decode unlimited polymorphic variable from base64.
Arguments
None
Decode an unlimited polymorphic array from base64.
Arguments
Type
Intent Optional
Attributes Name
character(len=*),
intent(in)
::
code Encoded array.
class(*),
intent(out)
::
up (1:)Unlimited polymorphic variable to be decoded.