Lines Matching refs:input
14 def zlib_encode(input,errors='strict'):
16 """ Encodes the object input and returns a tuple (output
25 output = zlib.compress(input)
26 return (output, len(input))
28 def zlib_decode(input,errors='strict'):
30 """ Decodes the object input and returns a tuple (output
33 input must be an object which provides the bf_getreadbuf
43 output = zlib.decompress(input)
44 return (output, len(input))
48 def encode(self, input, errors='strict'):
49 return zlib_encode(input, errors)
50 def decode(self, input, errors='strict'):
51 return zlib_decode(input, errors)
59 def encode(self, input, final=False):
61 c = self.compressobj.compress(input)
64 return self.compressobj.compress(input)
75 def decode(self, input, final=False):
77 c = self.decompressobj.decompress(input)
80 return self.decompressobj.decompress(input)