1. String to InputStream
new ByteArrayInputStream(str.getBytes());
2 ProGuard https://www.jianshu.com/p/4278862ef7e7