Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrNonASCII = errors.New("string argument should contain only ASCII characters")
ErrNonASCII is the ValueError base64.b64decode raises for a str holding non ASCII characters
Functions ¶
func B64Decode ¶
Decodes like base64.b64decode without validate, skipping non alphabet bytes and stopping at completed padding
func B64DecodeValidate ¶
Decodes like base64.b64decode with validate=True, binascii strict mode rejecting stray bytes and padding misuse
func URLSafeB64Decode ¶
Decodes like base64.urlsafe_b64decode, the dash and underscore alphabet mapped onto the standard one first