b64_decode_up_a Subroutine

private subroutine b64_decode_up_a(code, up)

Arguments

TypeIntentOptionalAttributesName
character, intent(in) :: code
class(*), intent(out) :: up(1:)

Calls

proc~~b64_decode_up_a~4~~CallsGraph proc~b64_decode_up_a~4 b64_decode_up_a proc~b64_decode_r4_a~4 b64_decode_R4_a proc~b64_decode_up_a~4->proc~b64_decode_r4_a~4 proc~b64_decode_i1_a~4 b64_decode_I1_a proc~b64_decode_up_a~4->proc~b64_decode_i1_a~4 proc~b64_decode_i4_a~4 b64_decode_I4_a proc~b64_decode_up_a~4->proc~b64_decode_i4_a~4 proc~b64_decode_i8_a~4 b64_decode_I8_a proc~b64_decode_up_a~4->proc~b64_decode_i8_a~4 proc~b64_decode_r8_a~4 b64_decode_R8_a proc~b64_decode_up_a~4->proc~b64_decode_r8_a~4 proc~b64_decode_i2_a~4 b64_decode_I2_a proc~b64_decode_up_a~4->proc~b64_decode_i2_a~4 proc~b64_decode_string_a~4 b64_decode_string_a proc~b64_decode_up_a~4->proc~b64_decode_string_a~4 proc~decode_bits~4 decode_bits proc~b64_decode_r4_a~4->proc~decode_bits~4 proc~b64_decode_i1_a~4->proc~decode_bits~4 proc~b64_decode_i4_a~4->proc~decode_bits~4 proc~b64_decode_i8_a~4->proc~decode_bits~4 proc~b64_decode_r8_a~4->proc~decode_bits~4 proc~b64_decode_i2_a~4->proc~decode_bits~4 proc~b64_decode_string_a~4->proc~decode_bits~4 interface~byte_size byte_size proc~b64_decode_string_a~4->interface~byte_size proc~byte_size_i1p byte_size_I1P interface~byte_size->proc~byte_size_i1p proc~byte_size_r4p byte_size_R4P interface~byte_size->proc~byte_size_r4p proc~byte_size_i4p byte_size_I4P interface~byte_size->proc~byte_size_i4p proc~byte_size_i8p byte_size_I8P interface~byte_size->proc~byte_size_i8p proc~byte_size_r8p byte_size_R8P interface~byte_size->proc~byte_size_r8p proc~byte_size_i2p byte_size_I2P interface~byte_size->proc~byte_size_i2p proc~byte_size_chr byte_size_chr interface~byte_size->proc~byte_size_chr

Called by

proc~~b64_decode_up_a~4~~CalledByGraph proc~b64_decode_up_a~4 b64_decode_up_a interface~b64_decode_up~4 b64_decode_up interface~b64_decode_up~4->proc~b64_decode_up_a~4 interface~b64_decode_up~4->proc~b64_decode_up_a~4 interface~b64_decode_up~4->interface~b64_decode_up~4 interface~b64_decode_up~4->interface~b64_decode_up~4

Contents

Source Code


Source Code

   subroutine b64_decode_up_a(code, up)
   !< Decode an unlimited polymorphic array from base64.
   !<
   !<```fortran
   !< use befor64
   !< use penf
   !< integer(I8P) :: array_I8(1:4)
   !< call b64_decode_up(code='FwAAAAAAAABEAQAAAAAAABBwhAEAAAAAAgAAAAAAAAA=', up=array_I8)
   !< print "(L1)", str(n=array_I8)==str(n=[23_I8P,324_I8P,25456656_I8P,2_I8P])
   !<```
   !=> T <<<
   character(*), intent(in)  :: code   !< Encoded array.
   class(*),     intent(out) :: up(1:) !< Unlimited polymorphic variable to be decoded.

   select type(up)
   type is(real(R8P))
      call b64_decode_R8_a(code=code,n=up)
   type is(real(R4P))
      call b64_decode_R4_a(code=code,n=up)
   type is(integer(I8P))
      call b64_decode_I8_a(code=code,n=up)
   type is(integer(I4P))
      call b64_decode_I4_a(code=code,n=up)
   type is(integer(I2P))
      call b64_decode_I2_a(code=code,n=up)
   type is(integer(I1P))
      call b64_decode_I1_a(code=code,n=up)
   type is(character(*))
      call b64_decode_string_a(code=code,s=up)
   endselect
   endsubroutine b64_decode_up_a