Sorry for simple question and poor English.
Some strings are sending to my device with serial (usb serial) and I have to save them in a text (.txt) file.
But when I use
Dim out As OutputStream = File.OpenOutput(File.DirInternal, "Logs.txt", True) 'Append = True
Dim b() As Byte = NewData.GetBytes("utf8")
out.Write(b, 0, b.Length)
out.Close