Convert a String to Stream

后端 未结 4 489
心在旅途
心在旅途 2020-12-09 09:06

I\'ve download an image from the Internet and converted to a String (This is not changeable)

Dim Request As System.Net.WebRequest = _
  System.Net.WebRequest         


        
4条回答
  •  既然无缘
    2020-12-09 09:27

    Converting binary data to a string in the way you have shown will render it useless. You can't pull it pack out. The text encoding hoses it.

    You need to use Base64 - like @Marc shows.

提交回复
热议问题