Lines Matching refs:input
16 def uu_encode(input, errors='strict', filename='<data>', mode=0o666):
18 infile = BytesIO(input)
35 return (outfile.getvalue(), len(input))
37 def uu_decode(input, errors='strict'):
39 infile = BytesIO(input)
48 raise ValueError('Missing "begin" line in input data')
66 raise ValueError('Truncated input data')
68 return (outfile.getvalue(), len(input))
71 def encode(self, input, errors='strict'):
72 return uu_encode(input, errors)
74 def decode(self, input, errors='strict'):
75 return uu_decode(input, errors)
78 def encode(self, input, final=False):
79 return uu_encode(input, self.errors)[0]
82 def decode(self, input, final=False):
83 return uu_decode(input, self.errors)[0]