Searched refs:encode_b (Results 1 – 2 of 2) sorted by relevance
138 def encode_b(bstring): function196 'b': encode_b,
157 self.assertEqual(_ew.encode_b(b'foo'), 'Zm9v')160 self.assertEqual(_ew.encode_b(b'vi'), 'dmk=')