Expand description
Functions for converting data in [GenericBinaryArray] such as StringArray to/from base64 encoded strings
Re-exportsยง
use arrow_array::Array;๐use arrow_array::GenericBinaryArray;๐use arrow_array::GenericStringArray;๐use arrow_array::OffsetSizeTrait;๐use arrow_buffer::Buffer;๐use arrow_buffer::OffsetBuffer;๐use arrow_schema::ArrowError;๐use base64::encoded_len;๐use base64::engine::Config;๐
Constantsยง
- BASE64_
STANDARD - A [
GeneralPurpose] engine using the [alphabet::STANDARD] base64 alphabet and [PAD] config. - BASE64_
STANDARD_ NO_ PAD - A [
GeneralPurpose] engine using the [alphabet::STANDARD] base64 alphabet and [NO_PAD] config. - BASE64_
URL_ SAFE - A [
GeneralPurpose] engine using the [alphabet::URL_SAFE] base64 alphabet and [PAD] config. - BASE64_
URL_ SAFE_ NO_ PAD - A [
GeneralPurpose] engine using the [alphabet::URL_SAFE] base64 alphabet and [NO_PAD] config.
Traitsยง
- Engine
- An
Engineprovides low-level encoding and decoding operations that all other higher-level parts of the API use. Users of the library will generally not need to implement this.
Functionsยง
- b64_
decode - Base64 decode each element of
arraywith the providedEngine - b64_
encode - Base64 encode each element of
arraywith the providedEngine