Einzelnen Beitrag anzeigen

WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#1

$0 in stream and loading as text

  Alt 24. Aug 2014, 11:33
Delphi-Version: XE5
I have sample data in stream like shown on attached image. You see many $0 inside. I want to load this stream to TStrings:

Text.LoadFromStream(Data);

Yeah, loading, but only to first $0. How to load whole data of this stream as text?

I tried also use additional string stream with encoding as Ansi or Unicode on create and load to strings from this encoded stream. The same result.
Miniaturansicht angehängter Grafiken
srestxt.png  

Geändert von WojTec (24. Aug 2014 um 11:50 Uhr)
  Mit Zitat antworten Zitat