OpenQuizz
Une application de gestion des contenus pédagogiques
itsdangerous.encoding Namespace Reference

Functions

def want_bytes (s, encoding="utf-8", errors="strict")
 
def base64_encode (string)
 
def base64_decode (string)
 
def int_to_bytes (num)
 
def bytes_to_int (bytestr)
 

Function Documentation

◆ base64_decode()

def itsdangerous.encoding.base64_decode (   string)
Base64 decode a URL-safe string of bytes or text. The result is
bytes.

◆ base64_encode()

def itsdangerous.encoding.base64_encode (   string)
Base64 encode a string of bytes or text. The resulting bytes are
safe to use in URLs.

◆ bytes_to_int()

def itsdangerous.encoding.bytes_to_int (   bytestr)

◆ int_to_bytes()

def itsdangerous.encoding.int_to_bytes (   num)

◆ want_bytes()

def itsdangerous.encoding.want_bytes (   s,
  encoding = "utf-8",
  errors = "strict" 
)