Home | History | Annotate | Download | only in encodings

Lines Matching refs:input

13 def base64_encode(input, errors='strict'):
15 return (base64.encodebytes(input), len(input))
17 def base64_decode(input, errors='strict'):
19 return (base64.decodebytes(input), len(input))
22 def encode(self, input, errors='strict'):
23 return base64_encode(input, errors)
24 def decode(self, input, errors='strict'):
25 return base64_decode(input, errors)
28 def encode(self, input, final=False):
30 return base64.encodebytes(input)
33 def decode(self, input, final=False):
35 return base64.decodebytes(input)