Function openssl::base64::encode_block[][src]

pub fn encode_block(src: &[u8]) -> String

Encodes a slice of bytes to a base64 string.

This corresponds to EVP_EncodeBlock.

Panics

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