(self, out)
| 420 | self.data = base64.decodebytes(data) |
| 421 | |
| 422 | def encode(self, out): |
| 423 | out.write("<value><base64>\n") |
| 424 | encoded = base64.encodebytes(self.data) |
| 425 | out.write(encoded.decode('ascii')) |
| 426 | out.write("</base64></value>\n") |
| 427 | |
| 428 | def _binary(data): |
| 429 | # decode xml element contents into a Binary structure |
no test coverage detected