EncodeBlock Interface

interface

Convert one block of input (3 Bytes) into its base64 representation (4 Bytes).


public function EncodeBlock(input, output, iplen, oplen) bind(c, name='encodeblock')

Arguments

Type IntentOptional Attributes Name
type(c_ptr), value :: input

input character stream in ascii

type(c_ptr), value :: output

output character stream in base64

integer(kind=c_int), intent(in), value :: iplen

length of the input stream

integer(kind=c_int), value :: oplen

length of the output stream

Return Value integer(kind=c_int)

Result, indicating the status of encode