Base64 Encoding and Decoding
Perform base64 encoding
char* output | an array of at least input_length*4/3 bytes |
const(ubyte)* input | is some binary data |
size_t input_length | length of input in bytes |
size_t input_consumed | is an output parameter which says how many bytes of input were actually consumed. If less than input_length, then the range input[consumed:length] should be passed in later along with more input. |
bool final_inputs | true iff this is the last input, in which case padding chars will be applied if needed |
Perform base64 encoding
const(ubyte)* input | some input |
size_t input_length | length of input in bytes |
Perform base64 encoding
Vector!(ubyte, Alloc) input | some input |
Perform base64 decoding
ubyte* output | an array of at least input_length*3/4 bytes |
const(char)* input | some base64 input |
size_t input_length | length of input in bytes |
size_t input_consumed | is an output parameter which says how many bytes of input were actually consumed. If less than input_length, then the range input[consumed:length] should be passed in later along with more input. |
bool final_inputs | true iff this is the last input, in which case padding is allowed |
bool ignore_ws | ignore whitespace on input; if false, throw new an exception if whitespace is encountered |
Perform base64 decoding
ubyte* output | an array of at least input_length*3/4 bytes |
const(char)* input | some base64 input |
size_t input_length | length of input in bytes |
bool ignore_ws | ignore whitespace on input; if false, throw new an exception if whitespace is encountered |
Perform base64 decoding
ubyte* output | an array of at least input_length/3*4 bytes |
string input | some base64 input |
bool ignore_ws | ignore whitespace on input; if false, throw new an exception if whitespace is encountered |
Perform base64 decoding
string input | some base64 input string |
bool ignore_ws | ignore whitespace on input; if false, throw new an exception if whitespace is encountered |
Perform base64 decoding
Vector!ubyte input | some base64 input |
bool ignore_ws | ignore whitespace on input; if false, throw new an exception if whitespace is encountered |