(tag, data)
| 10 | var ByteString = Java.use("com.android.okhttp.okio.ByteString"); |
| 11 | //输出base64格式数据 |
| 12 | function toBase64(tag, data) { |
| 13 | console.log(tag + " Base64: ", ByteString.of(data).base64()); |
| 14 | } |
| 15 | //输出hex格式数据 |
| 16 | function toHex(tag, data) { |
| 17 | console.log(tag + " Hex: ", ByteString.of(data).hex()); |
no outgoing calls
no test coverage detected