Lines Matching refs:input
13 def hex_encode(input,errors='strict'):
15 """ Encodes the object input and returns a tuple (output
24 output = binascii.b2a_hex(input)
25 return (output, len(input))
27 def hex_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 = binascii.a2b_hex(input)
43 return (output, len(input))
47 def encode(self, input,errors='strict'):
48 return hex_encode(input,errors)
49 def decode(self, input,errors='strict'):
50 return hex_decode(input,errors)
53 def encode(self, input, final=False):
55 return binascii.b2a_hex(input)
58 def decode(self, input, final=False):
60 return binascii.a2b_hex(input)