Skip to main content

b64_encode

Function b64_encode 

Source
pub fn b64_encode<E: Engine, O: OffsetSizeTrait>(
    engine: &E,
    array: &GenericBinaryArray<O>,
) -> GenericStringArray<O>
Expand description

Base64 encode each element of array with the provided Engine

Panics if the Engine emits output that is not valid UTF-8. A correct Engine never does, but it is a safe trait so a misbehaving impl could; validating keeps the returned [GenericStringArray] sound (#10284).