befor64 Module

module~~befor64~~UsesGraph module~befor64 befor64 module~befor64_pack_data_m~2 befor64_pack_data_m module~befor64_pack_data_m~2->module~befor64 module~penf~3 penf module~penf~3->module~befor64 module~penf~3->module~befor64_pack_data_m~2 module~penf_global_parameters_variables penf_global_parameters_variables module~penf_global_parameters_variables->module~penf~3 module~penf_b_size~4 penf_b_size module~penf_global_parameters_variables->module~penf_b_size~4 module~penf_stringify~3 penf_stringify module~penf_global_parameters_variables->module~penf_stringify~3 module~penf_b_size~4->module~penf~3 module~penf_b_size~4->module~penf_stringify~3 module~penf_stringify~3->module~penf~3 iso_fortran_env iso_fortran_env iso_fortran_env->module~penf_stringify~3
Help

BeFoR64, Base64 encoding/decoding library for FoRtran poor people.

Used By

module~~befor64~~UsedByGraph module~befor64 befor64 module~stringifor_string_t stringifor_string_t module~befor64->module~stringifor_string_t program~test_driver Test_Driver module~befor64->program~test_driver module~stringifor stringifor module~stringifor_string_t->module~stringifor program~write_file write_file module~stringifor->program~write_file module~fury_uom_symbol128 fury_uom_symbol128 module~stringifor->module~fury_uom_symbol128 program~join join module~stringifor->program~join program~decode decode module~stringifor->program~decode program~srepeat srepeat module~stringifor->program~srepeat program~encode encode module~stringifor->program~encode program~to_number to_number module~stringifor->program~to_number module~fury_system_si64 fury_system_si64 module~stringifor->module~fury_system_si64 program~search search module~stringifor->program~search program~equal equal module~stringifor->program~equal module~fury_system_si128 fury_system_si128 module~stringifor->module~fury_system_si128 program~reverse reverse module~stringifor->program~reverse program~basename_dir basename_dir module~stringifor->program~basename_dir program~split split module~stringifor->program~split program~escape escape module~stringifor->program~escape program~swapcase swapcase module~stringifor->program~swapcase program~not_equal not_equal module~stringifor->program~not_equal program~slice slice module~stringifor->program~slice program~extension extension module~stringifor->program~extension module~fury_qreal128 fury_qreal128 module~stringifor->module~fury_qreal128 program~fill fill module~stringifor->program~fill program~free free module~stringifor->program~free program~snakecase snakecase module~stringifor->program~snakecase module~fury_uom_symbol32 fury_uom_symbol32 module~stringifor->module~fury_uom_symbol32 program~is_real is_real module~stringifor->program~is_real program~read_file read_file module~stringifor->program~read_file program~replace replace module~stringifor->program~replace program~sadjustlr sadjustlr module~stringifor->program~sadjustlr module~fury_uom64 fury_uom64 module~stringifor->module~fury_uom64 program~read_line read_line module~stringifor->program~read_line program~insert insert module~stringifor->program~insert program~greater_equal_than greater_equal_than module~stringifor->program~greater_equal_than program~is_number is_number module~stringifor->program~is_number program~strim strim module~stringifor->program~strim program~read_lines read_lines module~stringifor->program~read_lines program~sindex sindex module~stringifor->program~sindex program~greater_than greater_than module~stringifor->program~greater_than program~strip strip module~stringifor->program~strip program~startcase startcase module~stringifor->program~startcase program~camelcase camelcase module~stringifor->program~camelcase module~fury fury module~stringifor->module~fury program~is_integer is_integer module~stringifor->program~is_integer program~sverify sverify module~stringifor->program~sverify program~lower_equal_than lower_equal_than module~stringifor->program~lower_equal_than program~upper_lower upper_lower module~stringifor->program~upper_lower module~fury_mixed_kinds fury_mixed_kinds module~stringifor->module~fury_mixed_kinds program~partition partition module~stringifor->program~partition program~write_lines write_lines module~stringifor->program~write_lines module~fury_uom_reference64 fury_uom_reference64 module~stringifor->module~fury_uom_reference64 program~csv_naive_parser csv_naive_parser module~stringifor->program~csv_naive_parser module~fury_system_abstract32 fury_system_abstract32 module~stringifor->module~fury_system_abstract32 program~is_digit is_digit module~stringifor->program~is_digit program~count_string count_string module~stringifor->program~count_string module~fury_qreal32 fury_qreal32 module~stringifor->module~fury_qreal32 module~fury_qreal64 fury_qreal64 module~stringifor->module~fury_qreal64 module~fury_system_abstract64 fury_system_abstract64 module~stringifor->module~fury_system_abstract64 module~fury_uom_symbol64 fury_uom_symbol64 module~stringifor->module~fury_uom_symbol64 program~sscan sscan module~stringifor->program~sscan program~assignments assignments module~stringifor->program~assignments module~fury_uom32 fury_uom32 module~stringifor->module~fury_uom32 program~io_formatted io_formatted module~stringifor->program~io_formatted program~unique unique module~stringifor->program~unique program~slen slen module~stringifor->program~slen module~fury_uom128 fury_uom128 module~stringifor->module~fury_uom128 module~fury_uom_reference32 fury_uom_reference32 module~stringifor->module~fury_uom_reference32 program~concatenation concatenation module~stringifor->program~concatenation module~fury_system_abstract128 fury_system_abstract128 module~stringifor->module~fury_system_abstract128 program~capitalize capitalize module~stringifor->program~capitalize module~fury_uom_reference128 fury_uom_reference128 module~stringifor->module~fury_uom_reference128 program~io_basic io_basic module~stringifor->program~io_basic program~unescape unescape module~stringifor->program~unescape module~fury_system_si32 fury_system_si32 module~stringifor->module~fury_system_si32 program~start_end start_end module~stringifor->program~start_end program~lower_than lower_than module~stringifor->program~lower_than module~fury_uom_symbol128->module~fury module~fury_uom_symbol128->module~fury_mixed_kinds module~fury_uom_symbol128->module~fury_uom128 module~fury_uom_symbol128->module~fury_uom_reference128 module~fury_system_si64->module~fury module~fury_system_si128->module~fury module~fury_qreal128->module~fury_system_si128 module~fury_qreal128->module~fury module~fury_qreal128->module~fury_mixed_kinds module~fury_qreal128->module~fury_system_abstract128 module~fury_uom_symbol32->module~fury module~fury_uom_symbol32->module~fury_mixed_kinds module~fury_uom_symbol32->module~fury_uom32 module~fury_uom_symbol32->module~fury_uom_reference32 module~fury_uom64->module~fury_system_si64 module~fury_uom64->module~fury module~fury_uom64->module~fury_mixed_kinds module~fury_uom64->module~fury_qreal64 module~fury_uom64->module~fury_system_abstract64 program~fury_test_qreal_div_mixed fury_test_qreal_div_mixed module~fury->program~fury_test_qreal_div_mixed program~fury_test_qreal_eq fury_test_qreal_eq module~fury->program~fury_test_qreal_eq program~fury_test_uom_div fury_test_uom_div module~fury->program~fury_test_uom_div program~fury_test_qreal_eq_mixed fury_test_qreal_eq_mixed module~fury->program~fury_test_qreal_eq_mixed program~fury_test_uom_mul fury_test_uom_mul module~fury->program~fury_test_uom_mul program~fury_test_qreal_mul fury_test_qreal_mul module~fury->program~fury_test_qreal_mul program~fury_test_bolt32 fury_test_bolt32 module~fury->program~fury_test_bolt32 program~fury_test_uom_sub_failure fury_test_uom_sub_failure module~fury->program~fury_test_uom_sub_failure program~fury_test_qreal_mul_mixed fury_test_qreal_mul_mixed module~fury->program~fury_test_qreal_mul_mixed program~fury_test_bolt64 fury_test_bolt64 module~fury->program~fury_test_bolt64 program~fury_test_qreal_not_eq fury_test_qreal_not_eq module~fury->program~fury_test_qreal_not_eq program~fury_test_system_si fury_test_system_si module~fury->program~fury_test_system_si program~fury_test_uom_sub fury_test_uom_sub module~fury->program~fury_test_uom_sub program~fury_test_qreal_not_eq_mixed fury_test_qreal_not_eq_mixed module~fury->program~fury_test_qreal_not_eq_mixed program~fury_test_qreal_sub_failure fury_test_qreal_sub_failure module~fury->program~fury_test_qreal_sub_failure program~fury_test_qreal_pow fury_test_qreal_pow module~fury->program~fury_test_qreal_pow program~fury_test_uom_aliases fury_test_uom_aliases module~fury->program~fury_test_uom_aliases program~fury_test_qreal_sub fury_test_qreal_sub module~fury->program~fury_test_qreal_sub program~fury_test_uom_parse_failure fury_test_uom_parse_failure module~fury->program~fury_test_uom_parse_failure program~fury_test_qreal_add_aliases_failure fury_test_qreal_add_aliases_failure module~fury->program~fury_test_qreal_add_aliases_failure program~fury_test_qreal_add_failure fury_test_qreal_add_failure module~fury->program~fury_test_qreal_add_failure module~dbm_to_mw_converter dBm_to_mW_converter module~fury->module~dbm_to_mw_converter program~fury_test_qreal_sub_mixed fury_test_qreal_sub_mixed module~fury->program~fury_test_qreal_sub_mixed program~fury_test_qreal_add_mixed fury_test_qreal_add_mixed module~fury->program~fury_test_qreal_add_mixed program~fury_test_qreal_add fury_test_qreal_add module~fury->program~fury_test_qreal_add program~fury_test_qreal_sub_mixed_failure fury_test_qreal_sub_mixed_failure module~fury->program~fury_test_qreal_sub_mixed_failure program~fury_test_qreal_add_mixed_failure fury_test_qreal_add_mixed_failure module~fury->program~fury_test_qreal_add_mixed_failure program~fury_test_qreal_aliases fury_test_qreal_aliases module~fury->program~fury_test_qreal_aliases program~fury_test_uom_add fury_test_uom_add module~fury->program~fury_test_uom_add program~fury_test_qreal_assign fury_test_qreal_assign module~fury->program~fury_test_qreal_assign program~fury_test_uom_add_failure fury_test_uom_add_failure module~fury->program~fury_test_uom_add_failure program~fury_test_uom_assign fury_test_uom_assign module~fury->program~fury_test_uom_assign program~fury_test_qreal_conversions_complex fury_test_qreal_conversions_complex module~fury->program~fury_test_qreal_conversions_complex program~fury_test_qreal_conversions_si fury_test_qreal_conversions_si module~fury->program~fury_test_qreal_conversions_si program~fury_test_uom_pow fury_test_uom_pow module~fury->program~fury_test_uom_pow program~fury_test_qreal_conversions_simple fury_test_qreal_conversions_simple module~fury->program~fury_test_qreal_conversions_simple program~fury_test_uom_assign_failure fury_test_uom_assign_failure module~fury->program~fury_test_uom_assign_failure program~fury_test_qreal_div fury_test_qreal_div module~fury->program~fury_test_qreal_div module~fury_mixed_kinds->module~fury module~fury_uom_reference64->module~fury_uom64 module~fury_uom_reference64->module~fury module~fury_uom_reference64->module~fury_mixed_kinds module~fury_uom_reference64->module~fury_system_abstract64 module~fury_system_abstract32->module~fury module~fury_system_abstract32->module~fury_system_si32 module~fury_qreal32->module~fury module~fury_qreal32->module~fury_mixed_kinds module~fury_qreal32->module~fury_system_abstract32 module~fury_qreal32->module~fury_system_si32 module~fury_qreal64->module~fury_system_si64 module~fury_qreal64->module~fury module~fury_qreal64->module~fury_mixed_kinds module~fury_qreal64->module~fury_system_abstract64 module~fury_system_abstract64->module~fury_system_si64 module~fury_system_abstract64->module~fury module~fury_uom_symbol64->module~fury_uom64 module~fury_uom_symbol64->module~fury module~fury_uom_symbol64->module~fury_mixed_kinds module~fury_uom_symbol64->module~fury_uom_reference64 module~fury_uom32->module~fury module~fury_uom32->module~fury_mixed_kinds module~fury_uom32->module~fury_system_abstract32 module~fury_uom32->module~fury_qreal32 module~fury_uom32->module~fury_system_si32 module~fury_uom128->module~fury_system_si128 module~fury_uom128->module~fury_qreal128 module~fury_uom128->module~fury module~fury_uom128->module~fury_mixed_kinds module~fury_uom128->module~fury_system_abstract128 module~fury_uom_reference32->module~fury module~fury_uom_reference32->module~fury_mixed_kinds module~fury_uom_reference32->module~fury_system_abstract32 module~fury_uom_reference32->module~fury_uom32 module~fury_system_abstract128->module~fury_system_si128 module~fury_system_abstract128->module~fury module~fury_uom_reference128->module~fury module~fury_uom_reference128->module~fury_mixed_kinds module~fury_uom_reference128->module~fury_uom128 module~fury_uom_reference128->module~fury_system_abstract128 module~fury_system_si32->module~fury module~dbm_to_mw_converter->program~fury_test_qreal_conversions_complex
Help


Variables

TypeVisibility AttributesNameInitial
logical, public :: is_b64_initialized =.false.

Flag for checking the initialization of the library.

character(len=64), private :: base64 ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"

Base64 alphabet.


Interfaces

public interface b64_encode

Encode numbers (integer and real) to base64.

  • private pure subroutine b64_encode_R8(n, code)

    Encode scalar number to base64 (R8P).

    Arguments

    Type IntentOptional AttributesName
    real(kind=R8P), intent(in) :: n

    Number to be encoded.

    character(len=:), intent(out), allocatable:: code

    Encoded scalar.

  • private pure subroutine b64_encode_R8_a(n, code)

    Encode array numbers to base64 (R8P).

    Arguments

    Type IntentOptional AttributesName
    real(kind=R8P), intent(in) :: n(1:)

    Array of numbers to be encoded.

    character(len=:), intent(out), allocatable:: code

    Encoded array.

  • private pure subroutine b64_encode_R4(n, code)

    Encode scalar number to base64 (R4P).

    Arguments

    Type IntentOptional AttributesName
    real(kind=R4P), intent(in) :: n

    Number to be encoded.

    character(len=:), intent(out), allocatable:: code

    Encoded scalar.

  • private pure subroutine b64_encode_R4_a(n, code)

    Encode array numbers to base64 (R4P).

    Arguments

    Type IntentOptional AttributesName
    real(kind=R4P), intent(in) :: n(1:)

    Array of numbers to be encoded.

    character(len=:), intent(out), allocatable:: code

    Encoded array.

  • private pure subroutine b64_encode_I8(n, code)

    Encode scalar number to base64 (I8P).

    Arguments

    Type IntentOptional AttributesName
    integer(kind=I8P), intent(in) :: n

    Number to be encoded.

    character(len=:), intent(out), allocatable:: code

    Encoded scalar.

  • private pure subroutine b64_encode_I8_a(n, code)

    Encode array numbers to base64 (I8P).

    Arguments

    Type IntentOptional AttributesName
    integer(kind=I8P), intent(in) :: n(1:)

    Array of numbers to be encoded.

    character(len=:), intent(out), allocatable:: code

    Encoded array.

  • private pure subroutine b64_encode_I4(n, code)

    Encode scalar number to base64 (I4P).

    Arguments

    Type IntentOptional AttributesName
    integer(kind=I4P), intent(in) :: n

    Number to be encoded.

    character(len=:), intent(out), allocatable:: code

    Encoded scalar.

  • private pure subroutine b64_encode_I4_a(n, code)

    Encode array numbers to base64 (I4P).

    Arguments

    Type IntentOptional AttributesName
    integer(kind=I4P), intent(in) :: n(1:)

    Array of numbers to be encoded.

    character(len=:), intent(out), allocatable:: code

    Encoded array.

  • private pure subroutine b64_encode_I2(n, code)

    Encode scalar number to base64 (I2P).

    Arguments

    Type IntentOptional AttributesName
    integer(kind=I2P), intent(in) :: n

    Number to be encoded.

    character(len=:), intent(out), allocatable:: code

    Encoded scalar.

  • private pure subroutine b64_encode_I2_a(n, code)

    Encode array numbers to base64 (I2P).

    Arguments

    Type IntentOptional AttributesName
    integer(kind=I2P), intent(in) :: n(1:)

    Array of numbers to be encoded.

    character(len=:), intent(out), allocatable:: code

    Encoded array.

  • private pure subroutine b64_encode_I1(n, code)

    Encode scalar number to base64 (I1P).

    Arguments

    Type IntentOptional AttributesName
    integer(kind=I1P), intent(in) :: n

    Number to be encoded.

    character(len=:), intent(out), allocatable:: code

    Encoded scalar.

  • private pure subroutine b64_encode_I1_a(n, code)

    Encode array numbers to base64 (I1P).

    Arguments

    Type IntentOptional AttributesName
    integer(kind=I1P), intent(in) :: n(1:)

    Array of numbers to be encoded.

    character(len=:), intent(out), allocatable:: code

    Encoded array.

  • private pure subroutine b64_encode_string(s, code)

    Encode scalar string to base64.

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: s

    String to be encoded.

    character(len=:), intent(out), allocatable:: code

    Encoded scalar.

  • private pure subroutine b64_encode_string_a(s, code)

    Encode array string to base64.

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: s(1:)

    String to be encoded.

    character(len=:), intent(out), allocatable:: code

    Encoded scalar.

private interface b64_encode_up

Encode unlimited polymorphic variable to base64.

  • private interface b64_encode_up()

    Encode unlimited polymorphic variable to base64.

    Arguments

    None
  • private pure subroutine b64_encode_up_a(up, code)

    Encode an unlimited polymorphic array to base64.

    Arguments

    Type IntentOptional AttributesName
    class(*), intent(in) :: up(1:)

    Unlimited polymorphic variable to be encoded.

    character(len=:), intent(out), allocatable:: code

    Encoded array.

public interface b64_decode

Decode numbers (integer and real) from base64.

  • private elemental subroutine b64_decode_R8(code, n)

    Decode a base64 code into a scalar number (R8P).

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: code

    Encoded scalar.

    real(kind=R8P), intent(out) :: n

    Number to be decoded.

  • private pure subroutine b64_decode_R8_a(code, n)

    Decode a base64 code into an array numbers (R8P).

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: code

    Encoded array.

    real(kind=R8P), intent(out) :: n(1:)

    Array of numbers to be decoded.

  • private elemental subroutine b64_decode_R4(code, n)

    Decode a base64 code into a scalar number (R4P).

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: code

    Encoded scalar.

    real(kind=R4P), intent(out) :: n

    Number to be decoded.

  • private pure subroutine b64_decode_R4_a(code, n)

    Decode a base64 code into an array numbers (R4P).

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: code

    Encoded array.

    real(kind=R4P), intent(out) :: n(1:)

    Array of numbers to be decoded.

  • private elemental subroutine b64_decode_I8(code, n)

    Decode a base64 code into a scalar number (I8P).

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: code

    Encoded scalar.

    integer(kind=I8P), intent(out) :: n

    Number to be decoded.

  • private pure subroutine b64_decode_I8_a(code, n)

    Decode a base64 code into an array numbers (I8P).

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: code

    Encoded array.

    integer(kind=I8P), intent(out) :: n(1:)

    Array of numbers to be decoded.

  • private elemental subroutine b64_decode_I4(code, n)

    Decode a base64 code into a scalar number (I4P).

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: code

    Encoded scalar.

    integer(kind=I4P), intent(out) :: n

    Number to be decoded.

  • private pure subroutine b64_decode_I4_a(code, n)

    Decode a base64 code into an array numbers (I4P).

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: code

    Encoded array.

    integer(kind=I4P), intent(out) :: n(1:)

    Array of numbers to be decoded.

  • private elemental subroutine b64_decode_I2(code, n)

    Decode a base64 code into a scalar number (I2P).

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: code

    Encoded scalar.

    integer(kind=I2P), intent(out) :: n

    Number to be decoded.

  • private pure subroutine b64_decode_I2_a(code, n)

    Decode a base64 code into an array numbers (I2P).

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: code

    Encoded array.

    integer(kind=I2P), intent(out) :: n(1:)

    Array of numbers to be decoded.

  • private elemental subroutine b64_decode_I1(code, n)

    Decode a base64 code into a scalar number (I1P).

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: code

    Encoded scalar.

    integer(kind=I1P), intent(out) :: n

    Number to be decoded.

  • private pure subroutine b64_decode_I1_a(code, n)

    Decode a base64 code into an array numbers (I1P).

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: code

    Encoded array.

    integer(kind=I1P), intent(out) :: n(1:)

    Array of numbers to be decoded.

  • private elemental subroutine b64_decode_string(code, s)

    Decode a base64 code into a scalar string.

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: code

    Encoded scalar.

    character(len=*), intent(out) :: s

    String to be decoded.

  • private pure subroutine b64_decode_string_a(code, s)

    Decode a base64 code into an array of strings.

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: code

    Encoded scalar.

    character(len=*), intent(out) :: s(1:)

    String to be decoded.

private interface b64_decode_up

Decode unlimited polymorphic variable from base64.

  • private interface b64_decode_up()

    Decode unlimited polymorphic variable from base64.

    Arguments

    None
  • private subroutine b64_decode_up_a(code, up)

    Decode an unlimited polymorphic array from base64.

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: code

    Encoded array.

    class(*), intent(out) :: up(1:)

    Unlimited polymorphic variable to be decoded.


Subroutines

public subroutine b64_init()

Initialize the BeFoR64 library.

Arguments

None

private pure subroutine encode_bits(bits, padd, code)

Encode a bits stream (must be multiple of 24 bits) into base64 charcaters code (of length multiple of 4).

Arguments

Type IntentOptional AttributesName
integer(kind=I1P), intent(in) :: bits(1:)

Bits to be encoded.

integer(kind=I4P), intent(in) :: padd

Number of padding characters ('=').

character(len=*), intent(out) :: code

Characters code.

private pure subroutine decode_bits(code, bits)

Decode a base64 string into a sequence of bits stream.

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: code

Characters code.

integer(kind=I1P), intent(out) :: bits(1:)

Bits decoded.

public subroutine b64_encode_up(up, code)

Encode an unlimited polymorphic scalar to base64.

Arguments

Type IntentOptional AttributesName
class(*), intent(in) :: up

Unlimited polymorphic variable to be encoded.

character(len=:), intent(out), allocatable:: code

Encoded scalar.

private pure subroutine b64_encode_up_a(up, code)

Encode an unlimited polymorphic array to base64.

Arguments

Type IntentOptional AttributesName
class(*), intent(in) :: up(1:)

Unlimited polymorphic variable to be encoded.

character(len=:), intent(out), allocatable:: code

Encoded array.

public subroutine b64_decode_up(code, up)

Decode an unlimited polymorphic scalar from base64.

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: code

Encoded scalar.

class(*), intent(out) :: up

Unlimited polymorphic variable to be decoded.

private subroutine b64_decode_up_a(code, up)

Decode an unlimited polymorphic array from base64.

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: code

Encoded array.

class(*), intent(out) :: up(1:)

Unlimited polymorphic variable to be decoded.

private pure subroutine b64_encode_R16(n, code)

Encode scalar number to base64 (R16P).

Arguments

Type IntentOptional AttributesName
real(kind=R16P), intent(in) :: n

Number to be encoded.

character(len=:), intent(out), allocatable:: code

Encoded scalar.

private pure subroutine b64_encode_R8(n, code)

Encode scalar number to base64 (R8P).

Arguments

Type IntentOptional AttributesName
real(kind=R8P), intent(in) :: n

Number to be encoded.

character(len=:), intent(out), allocatable:: code

Encoded scalar.

private pure subroutine b64_encode_R4(n, code)

Encode scalar number to base64 (R4P).

Arguments

Type IntentOptional AttributesName
real(kind=R4P), intent(in) :: n

Number to be encoded.

character(len=:), intent(out), allocatable:: code

Encoded scalar.

private pure subroutine b64_encode_I8(n, code)

Encode scalar number to base64 (I8P).

Arguments

Type IntentOptional AttributesName
integer(kind=I8P), intent(in) :: n

Number to be encoded.

character(len=:), intent(out), allocatable:: code

Encoded scalar.

private pure subroutine b64_encode_I4(n, code)

Encode scalar number to base64 (I4P).

Arguments

Type IntentOptional AttributesName
integer(kind=I4P), intent(in) :: n

Number to be encoded.

character(len=:), intent(out), allocatable:: code

Encoded scalar.

private pure subroutine b64_encode_I2(n, code)

Encode scalar number to base64 (I2P).

Arguments

Type IntentOptional AttributesName
integer(kind=I2P), intent(in) :: n

Number to be encoded.

character(len=:), intent(out), allocatable:: code

Encoded scalar.

private pure subroutine b64_encode_I1(n, code)

Encode scalar number to base64 (I1P).

Arguments

Type IntentOptional AttributesName
integer(kind=I1P), intent(in) :: n

Number to be encoded.

character(len=:), intent(out), allocatable:: code

Encoded scalar.

private pure subroutine b64_encode_string(s, code)

Encode scalar string to base64.

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: s

String to be encoded.

character(len=:), intent(out), allocatable:: code

Encoded scalar.

private pure subroutine b64_encode_R16_a(n, code)

Encode array numbers to base64 (R16P).

Arguments

Type IntentOptional AttributesName
real(kind=R16P), intent(in) :: n(1:)

Array of numbers to be encoded.

character(len=:), intent(out), allocatable:: code

Encoded array.

private pure subroutine b64_encode_R8_a(n, code)

Encode array numbers to base64 (R8P).

Arguments

Type IntentOptional AttributesName
real(kind=R8P), intent(in) :: n(1:)

Array of numbers to be encoded.

character(len=:), intent(out), allocatable:: code

Encoded array.

private pure subroutine b64_encode_R4_a(n, code)

Encode array numbers to base64 (R4P).

Arguments

Type IntentOptional AttributesName
real(kind=R4P), intent(in) :: n(1:)

Array of numbers to be encoded.

character(len=:), intent(out), allocatable:: code

Encoded array.

private pure subroutine b64_encode_I8_a(n, code)

Encode array numbers to base64 (I8P).

Arguments

Type IntentOptional AttributesName
integer(kind=I8P), intent(in) :: n(1:)

Array of numbers to be encoded.

character(len=:), intent(out), allocatable:: code

Encoded array.

private pure subroutine b64_encode_I4_a(n, code)

Encode array numbers to base64 (I4P).

Arguments

Type IntentOptional AttributesName
integer(kind=I4P), intent(in) :: n(1:)

Array of numbers to be encoded.

character(len=:), intent(out), allocatable:: code

Encoded array.

private pure subroutine b64_encode_I2_a(n, code)

Encode array numbers to base64 (I2P).

Arguments

Type IntentOptional AttributesName
integer(kind=I2P), intent(in) :: n(1:)

Array of numbers to be encoded.

character(len=:), intent(out), allocatable:: code

Encoded array.

private pure subroutine b64_encode_I1_a(n, code)

Encode array numbers to base64 (I1P).

Arguments

Type IntentOptional AttributesName
integer(kind=I1P), intent(in) :: n(1:)

Array of numbers to be encoded.

character(len=:), intent(out), allocatable:: code

Encoded array.

private pure subroutine b64_encode_string_a(s, code)

Encode array string to base64.

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: s(1:)

String to be encoded.

character(len=:), intent(out), allocatable:: code

Encoded scalar.

private elemental subroutine b64_decode_R16(code, n)

Decode a base64 code into a scalar number (R16P).

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: code

Encoded scalar.

real(kind=R16P), intent(out) :: n

Number to be decoded.

private elemental subroutine b64_decode_R8(code, n)

Decode a base64 code into a scalar number (R8P).

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: code

Encoded scalar.

real(kind=R8P), intent(out) :: n

Number to be decoded.

private elemental subroutine b64_decode_R4(code, n)

Decode a base64 code into a scalar number (R4P).

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: code

Encoded scalar.

real(kind=R4P), intent(out) :: n

Number to be decoded.

private elemental subroutine b64_decode_I8(code, n)

Decode a base64 code into a scalar number (I8P).

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: code

Encoded scalar.

integer(kind=I8P), intent(out) :: n

Number to be decoded.

private elemental subroutine b64_decode_I4(code, n)

Decode a base64 code into a scalar number (I4P).

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: code

Encoded scalar.

integer(kind=I4P), intent(out) :: n

Number to be decoded.

private elemental subroutine b64_decode_I2(code, n)

Decode a base64 code into a scalar number (I2P).

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: code

Encoded scalar.

integer(kind=I2P), intent(out) :: n

Number to be decoded.

private elemental subroutine b64_decode_I1(code, n)

Decode a base64 code into a scalar number (I1P).

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: code

Encoded scalar.

integer(kind=I1P), intent(out) :: n

Number to be decoded.

private elemental subroutine b64_decode_string(code, s)

Decode a base64 code into a scalar string.

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: code

Encoded scalar.

character(len=*), intent(out) :: s

String to be decoded.

private pure subroutine b64_decode_R16_a(code, n)

Decode a base64 code into an array numbers (R16P).

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: code

Encoded array.

real(kind=R16P), intent(out) :: n(1:)

Array of numbers to be decoded.

private pure subroutine b64_decode_R8_a(code, n)

Decode a base64 code into an array numbers (R8P).

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: code

Encoded array.

real(kind=R8P), intent(out) :: n(1:)

Array of numbers to be decoded.

private pure subroutine b64_decode_R4_a(code, n)

Decode a base64 code into an array numbers (R4P).

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: code

Encoded array.

real(kind=R4P), intent(out) :: n(1:)

Array of numbers to be decoded.

private pure subroutine b64_decode_I8_a(code, n)

Decode a base64 code into an array numbers (I8P).

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: code

Encoded array.

integer(kind=I8P), intent(out) :: n(1:)

Array of numbers to be decoded.

private pure subroutine b64_decode_I4_a(code, n)

Decode a base64 code into an array numbers (I4P).

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: code

Encoded array.

integer(kind=I4P), intent(out) :: n(1:)

Array of numbers to be decoded.

private pure subroutine b64_decode_I2_a(code, n)

Decode a base64 code into an array numbers (I2P).

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: code

Encoded array.

integer(kind=I2P), intent(out) :: n(1:)

Array of numbers to be decoded.

private pure subroutine b64_decode_I1_a(code, n)

Decode a base64 code into an array numbers (I1P).

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: code

Encoded array.

integer(kind=I1P), intent(out) :: n(1:)

Array of numbers to be decoded.

private pure subroutine b64_decode_string_a(code, s)

Decode a base64 code into an array of strings.

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: code

Encoded scalar.

character(len=*), intent(out) :: s(1:)

String to be decoded.

public subroutine autotest()

Procedure for autotesting the library functionalities.

Arguments

None