下面是字符串转化成流的String2Stream()方法代码。
|
| 1. | < !--直接把想要转化的字符串str作为参数传入!--> |
| 2. | Stream str=String2Stream(str); |

调用示例