Lines Matching full:encoded
51 The encoded string is returned.
54 encoded = binascii.b2a_base64(s)[:-1]
56 return _translate(encoded, {'+': altchars[0], '/': altchars[1]})
57 return encoded
61 """Decode a Base64 encoded string.
83 s is the string to encode. The encoded string is returned.
88 """Decode a string encoded with the standard Base64 alphabet.
99 s is the string to encode. The encoded string is returned. The alphabet
105 """Decode a string encoded with the standard Base64 alphabet.
140 s is the string to encode. The encoded string is returned.
166 encoded = EMPTYSTRING.join(parts)
169 return encoded[:-6] + '======'
171 return encoded[:-4] + '===='
173 return encoded[:-3] + '==='
175 return encoded[:-1] + '='
176 return encoded
180 """Decode a Base32 encoded string.
257 s is the string to encode. The encoded string is returned.
263 """Decode a Base16 encoded string.