Home | History | Annotate | Download | only in encodings

Lines Matching refs:input

13 def hex_encode(input, errors='strict'):
15 return (binascii.b2a_hex(input), len(input))
17 def hex_decode(input, errors='strict'):
19 return (binascii.a2b_hex(input), len(input))
22 def encode(self, input, errors='strict'):
23 return hex_encode(input, errors)
24 def decode(self, input, errors='strict'):
25 return hex_decode(input, errors)
28 def encode(self, input, final=False):
30 return binascii.b2a_hex(input)
33 def decode(self, input, final=False):
35 return binascii.a2b_hex(input)