(data: str)
| 155 | |
| 156 | @staticmethod |
| 157 | def __encode_data(data: str) -> bytes: |
| 158 | compressed = RequestData.__compress(data.encode()) |
| 159 | |
| 160 | encoded = RequestData.chromium_base64_encode( |
| 161 | "".join([chr(ch) for ch in compressed]) |
| 162 | ) |
| 163 | |
| 164 | return encoded |
| 165 | |
| 166 | @staticmethod |
| 167 | def __decode_data(data: str) -> str: |
no test coverage detected