(self)
| 374 | "Bad data encounted in numeric data") |
| 375 | |
| 376 | def readJSONBase64(self): |
| 377 | string = self.readJSONString(False) |
| 378 | size = len(string) |
| 379 | m = size % 4 |
| 380 | # Force padding since b64encode method does not allow it |
| 381 | if m != 0: |
| 382 | for i in range(4 - m): |
| 383 | string += '=' |
| 384 | return base64.b64decode(string) |
| 385 | |
| 386 | def readJSONObjectStart(self): |
| 387 | self.context.read() |
nothing calls this directly
no test coverage detected