(self, out)
| 394 | self.data = base64.decodebytes(data) |
| 395 | |
| 396 | def encode(self, out): |
| 397 | out.write("<value><base64>\n") |
| 398 | encoded = base64.encodebytes(self.data) |
| 399 | out.write(encoded.decode('ascii')) |
| 400 | out.write("</base64></value>\n") |
| 401 | |
| 402 | def _binary(data): |
| 403 | # decode xml element contents into a Binary structure |
no test coverage detected