Hi guys,
It’s a very simple question,I know how to convert stream to string,but I want to write a string to stream,how can I do that?
--Read stream ,I can do this
streamReader=DotNetObject "System.Byte[]" 8192
--Someway to Receive streamReader
Encoding=DotnetClass "System.Text.Encoding"
Receive_txt=Encoding.UTF8.GetString(streamReader)
--Write stream,how can I do this ?
streamWriter=DotNetObject "System.Byte[]" 8192
theString="The string to be write"
--Someway to Send streamWriter