Function openssl::base64::encode_block

source ·
pub fn encode_block(src: &[u8]) -> String
Expand description

Encodes a slice of bytes to a base64 string.

Panics

Panics if the input length or computed output length overflow a signed C integer.

This corresponds to EVP_EncodeBlock.