參考:
<a href="http://www.cnblogs.com/zxx193/p/3605238.html?utm_source=tuicool" target="_blank">http://www.cnblogs.com/zxx193/p/3605238.html?utm_source=tuicool</a>
<a href="http://www.cnblogs.com/freeliver54/p/3430956.html" target="_blank">http://www.cnblogs.com/freeliver54/p/3430956.html</a>
<a href="http://www.cnblogs.com/simhare/archive/2007/07/18/821938.html" target="_blank">http://www.cnblogs.com/simhare/archive/2007/07/18/821938.html</a>
定義string變量為str,記憶體流變量為ms,比特數組為bt
1.字元串=>比特數組
補充:
2.比特數組=>字元串
3.字元串=>流
4.流=>字元串
5.比特數組=>流
6.流=>比特數組
7、byte[]與base64string的互相轉換
![](https://img.laitimes.com/img/_0nNw4CM6IyYiwiM6ICdiwiIml2ZuUWYxYmZhR2MiNjY3QGMjFGZlNTOzUWZjJGO2YzM1MWMfdWbp9CXt92Yu4GZjlGbh5SZslmZxl3Lc9CX6MHc0RHaiojIsJye.gif)
View Code
8、C# byte數組與Image的互相轉換
<a href="http://www.cnblogs.com/luxiaoxun/p/3378416.html" target="_blank">http://www.cnblogs.com/luxiaoxun/p/3378416.html</a>