Lines Matching refs:codecs
9 import codecs
13 encode = codecs.utf_16_le_encode
16 return codecs.utf_16_le_decode(input, errors, True)
18 class IncrementalEncoder(codecs.IncrementalEncoder):
20 return codecs.utf_16_le_encode(input, self.errors)[0]
22 class IncrementalDecoder(codecs.BufferedIncrementalDecoder):
23 _buffer_decode = codecs.utf_16_le_decode
25 class StreamWriter(codecs.StreamWriter):
26 encode = codecs.utf_16_le_encode
28 class StreamReader(codecs.StreamReader):
29 decode = codecs.utf_16_le_decode
34 return codecs.CodecInfo(