yabase/base64/urlsafe_nopadding

Values

pub fn decode(
  input: String,
) -> Result(BitArray, encoding.CodecError)

Decode a URL-safe Base64 string without padding to a BitArray. Length % 4 must be 0, 2, or 3 (never 1). Padding characters (=) are rejected.

pub fn encode(data: BitArray) -> String

Encode a BitArray to URL-safe Base64 without padding.

Search Document