string, file, read null byte and show

  • Thread starter Thread starter Iwan Petrow
  • Start date Start date
I

Iwan Petrow

Hi,

I have a file which can contain \x0000 byte. If I read this file with
StreamReader in a string variable and show it in a textbox it cut it
the srting after this. How could I read all the symbols in the file and
show its contents in a textbor or richtextbox?

Thanks.
 
How could I read all the symbols in the file and
show its contents in a textbor or richtextbox?

Replace all null characters in the string before showing it in the
textbox.



Mattias
 
Back
Top