Lines Matching refs:input
13 def base64_encode(input,errors='strict'):
15 """ Encodes the object input and returns a tuple (output
24 output = base64.encodestring(input)
25 return (output, len(input))
27 def base64_decode(input,errors='strict'):
29 """ Decodes the object input and returns a tuple (output
32 input must be an object which provides the bf_getreadbuf
42 output = base64.decodestring(input)
43 return (output, len(input))
47 def encode(self, input,errors='strict'):
48 return base64_encode(input,errors)
49 def decode(self, input,errors='strict'):
50 return base64_decode(input,errors)
53 def encode(self, input, final=False):
55 return base64.encodestring(input)
58 def decode(self, input, final=False):
60 return base64.decodestring(input)